summaryrefslogtreecommitdiff
path: root/src/emap/data/itemd.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-02 21:12:20 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-02 21:12:20 +0300
commit0a1a779e51fdd00e5c3bb4173a92cd02f5d1bfd5 (patch)
tree629a0e0b047000e730090353c5fa32aea1ec343d /src/emap/data/itemd.c
parent668d24abff5a79d6d6e3c45784b3820835bf37b5 (diff)
downloadevol-hercules-0a1a779e51fdd00e5c3bb4173a92cd02f5d1bfd5.tar.gz
evol-hercules-0a1a779e51fdd00e5c3bb4173a92cd02f5d1bfd5.tar.bz2
evol-hercules-0a1a779e51fdd00e5c3bb4173a92cd02f5d1bfd5.tar.xz
evol-hercules-0a1a779e51fdd00e5c3bb4173a92cd02f5d1bfd5.zip
Fix compilation warning in itemd_get_by_item.
Diffstat (limited to 'src/emap/data/itemd.c')
-rw-r--r--src/emap/data/itemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/data/itemd.c b/src/emap/data/itemd.c
index a97903c..15b143b 100644
--- a/src/emap/data/itemd.c
+++ b/src/emap/data/itemd.c
@@ -18,7 +18,7 @@
#include "emap/data/itemd.h"
#include "emap/struct/itemdext.h"
-struct ItemdExt *itemd_get_by_item(struct item *item)
+struct ItemdExt *itemd_get_by_item(const struct item *item)
{
if (!item)
return NULL;