fixes for some compilation warnings

develop
simon 2010-04-28 18:21:52 +02:00
parent 65db80cd50
commit 3e16c75944
3 changed files with 9 additions and 9 deletions

@ -12,7 +12,7 @@ namespace DFHack
constr_bar = 0, constr_bar = 0,
constr_block = 2, constr_block = 2,
constr_boulder = 4, constr_boulder = 4,
constr_logs = 5, constr_logs = 5
}; };
#pragma pack(push, 1) #pragma pack(push, 1)
struct t_construction struct t_construction

@ -17,14 +17,14 @@ namespace DFHack
feature_Other, feature_Other,
feature_Adamantine_Tube, feature_Adamantine_Tube,
feature_Underworld, feature_Underworld,
feature_Hell_Temple, feature_Hell_Temple
}; };
static char * sa_feature[]= static char * sa_feature[]=
{ {
"Other", (char*)"Other",
"Adamantine Tube", (char*)"Adamantine Tube",
"Underworld", (char*)"Underworld",
"Hell Temple" (char*)"Hell Temple"
}; };
union planecoord union planecoord
{ {

@ -98,7 +98,7 @@ enum CREATURE_COMMAND
CREATURE_INIT = 0, // initialization CREATURE_INIT = 0, // initialization
CREATURE_FIND_IN_BOX, CREATURE_FIND_IN_BOX,
CREATURE_AT_INDEX, CREATURE_AT_INDEX,
NUM_CREATURE_CMDS, NUM_CREATURE_CMDS
}; };
DFPP_module Init(void); DFPP_module Init(void);