diff --git a/src/common/iniparser/iniparser.c b/src/common/iniparser/iniparser.c index f6eb91cb5..747d5a183 100644 --- a/src/common/iniparser/iniparser.c +++ b/src/common/iniparser/iniparser.c @@ -31,7 +31,6 @@ #include #include #include -#include #include "iniparser.h" @@ -170,9 +169,9 @@ static void * mem_double(void * ptr, int size) static unsigned dictionary_hash(const char * key) { - int len ; - unsigned hash ; - int i ; + size_t len ; + unsigned int hash ; + unsigned int i; len = strlen(key); for (hash=0, i=0 ; i #include #include -#include #include #ifdef __cplusplus diff --git a/src/eressea/eressea-lua.vcproj b/src/eressea/eressea-lua.vcproj index b4fbaafb0..1b3f78483 100644 --- a/src/eressea/eressea-lua.vcproj +++ b/src/eressea/eressea-lua.vcproj @@ -560,6 +560,12 @@ + + + + + + + + diff --git a/src/eressea/server.cpp b/src/eressea/server.cpp index dd1dc19bf..57b2a472b 100644 --- a/src/eressea/server.cpp +++ b/src/eressea/server.cpp @@ -124,10 +124,10 @@ ** global variables we are importing from other modules **/ extern "C" { - extern char * g_reportdir; - extern char * g_datadir; - extern char * g_basedir; - extern char * g_resourcedir; + extern const char * g_reportdir; + extern const char * g_datadir; + extern const char * g_basedir; + extern const char * g_resourcedir; extern boolean nonr; extern boolean nosh;