summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-21 20:59:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-21 20:59:37 +0300
commita7a6a9f932c1d8da883a7744fc85ba10d4ecd3d3 (patch)
treee8d77c3f06498db11d1f9793efdb07709c89928e /src/emap
parentfabe15b29d7db7823568548da998b24e75f2cce8 (diff)
downloadevol-hercules-a7a6a9f932c1d8da883a7744fc85ba10d4ecd3d3.tar.gz
evol-hercules-a7a6a9f932c1d8da883a7744fc85ba10d4ecd3d3.tar.bz2
evol-hercules-a7a6a9f932c1d8da883a7744fc85ba10d4ecd3d3.tar.xz
evol-hercules-a7a6a9f932c1d8da883a7744fc85ba10d4ecd3d3.zip
Fix compilation warnings.
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/npc.c2
-rw-r--r--src/emap/parse.c2
-rw-r--r--src/emap/script.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/emap/npc.c b/src/emap/npc.c
index 1772c0b..1fd3328 100644
--- a/src/emap/npc.c
+++ b/src/emap/npc.c
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
+#include <strings.h>
#include "common/HPMi.h"
#include "common/memmgr.h"
diff --git a/src/emap/parse.c b/src/emap/parse.c
index 8147dc8..226bf9c 100644
--- a/src/emap/parse.c
+++ b/src/emap/parse.c
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
+#include <strings.h>
#include "common/HPMi.h"
#include "common/memmgr.h"
diff --git a/src/emap/script.c b/src/emap/script.c
index a3ede58..373c5ae 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -1672,7 +1672,7 @@ BUILDIN(checkNpcCell)
if (m == -1)
{
- ShowWarning("checknpccell: Attempted to run on unexsitent map '%s', type %d, x/y %d,%d\n", script_getstr(st, 2), type, x, y);
+ ShowWarning("checknpccell: Attempted to run on unexsitent map '%s', type %u, x/y %d,%d\n", script_getstr(st, 2), type, x, y);
return true;
}