diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-04 17:08:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-04 17:08:44 +0300 |
commit | 3732bd4a6b708651f6b4bcd32d6beb2b7f49c478 (patch) | |
tree | 83155915c35c72d018108231437248cc78d5060d /src/plugins | |
parent | 0bd30a0fac1db1b478b3173a22a81bd5249113f8 (diff) | |
parent | 9147fe9473b26ee32aafed65fd02b03f11397629 (diff) | |
download | hercules-3732bd4a6b708651f6b4bcd32d6beb2b7f49c478.tar.gz hercules-3732bd4a6b708651f6b4bcd32d6beb2b7f49c478.tar.bz2 hercules-3732bd4a6b708651f6b4bcd32d6beb2b7f49c478.tar.xz hercules-3732bd4a6b708651f6b4bcd32d6beb2b7f49c478.zip |
Merge pull request #1210 from HerculesWS/wcast_qual
Added -Wcast-qual compiler flag
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/HPMHooking.c | 2 | ||||
-rw-r--r-- | src/plugins/db2sql.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/HPMHooking.c b/src/plugins/HPMHooking.c index 18bfaf220..7a26c8f98 100644 --- a/src/plugins/HPMHooking.c +++ b/src/plugins/HPMHooking.c @@ -128,7 +128,7 @@ HPExport struct hplugin_info pinfo = { }; #define HP_POP(x,y) #x , (void**)(&x) , (void*)y , 0 -DBMap *hp_db;/* hooking points db -- for quick lookup */ +struct DBMap *hp_db;/* hooking points db -- for quick lookup */ struct HookingPointData { char* name; diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c index 86708ebbc..510a56e2c 100644 --- a/src/plugins/db2sql.c +++ b/src/plugins/db2sql.c @@ -25,6 +25,7 @@ #include "common/memmgr.h" #include "common/mmo.h" #include "common/nullpo.h" +#include "common/sql.h" #include "common/strlib.h" #include "map/battle.h" #include "map/itemdb.h" |