From 3e16c75944c88e5a8f8025a15b9b894c1259aa0b Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 28 Apr 2010 18:21:52 +0200 Subject: [PATCH] fixes for some compilation warnings --- dfhack/include/modules/Constructions.h | 2 +- dfhack/include/modules/Maps.h | 12 ++++++------ dfhack/shm/mod-creature40d.h | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dfhack/include/modules/Constructions.h b/dfhack/include/modules/Constructions.h index 634d3643c..4c705ed4c 100644 --- a/dfhack/include/modules/Constructions.h +++ b/dfhack/include/modules/Constructions.h @@ -12,7 +12,7 @@ namespace DFHack constr_bar = 0, constr_block = 2, constr_boulder = 4, - constr_logs = 5, + constr_logs = 5 }; #pragma pack(push, 1) struct t_construction diff --git a/dfhack/include/modules/Maps.h b/dfhack/include/modules/Maps.h index cbb620fcf..ca0c052bc 100644 --- a/dfhack/include/modules/Maps.h +++ b/dfhack/include/modules/Maps.h @@ -17,14 +17,14 @@ namespace DFHack feature_Other, feature_Adamantine_Tube, feature_Underworld, - feature_Hell_Temple, + feature_Hell_Temple }; static char * sa_feature[]= { - "Other", - "Adamantine Tube", - "Underworld", - "Hell Temple" + (char*)"Other", + (char*)"Adamantine Tube", + (char*)"Underworld", + (char*)"Hell Temple" }; union planecoord { @@ -375,4 +375,4 @@ namespace DFHack Private *d; }; } -#endif \ No newline at end of file +#endif diff --git a/dfhack/shm/mod-creature40d.h b/dfhack/shm/mod-creature40d.h index 8c7f84f54..402743d53 100644 --- a/dfhack/shm/mod-creature40d.h +++ b/dfhack/shm/mod-creature40d.h @@ -98,7 +98,7 @@ enum CREATURE_COMMAND CREATURE_INIT = 0, // initialization CREATURE_FIND_IN_BOX, CREATURE_AT_INDEX, - NUM_CREATURE_CMDS, + NUM_CREATURE_CMDS }; DFPP_module Init(void); @@ -106,4 +106,4 @@ DFPP_module Init(void); } } -#endif \ No newline at end of file +#endif