diff options
Diffstat (limited to 'src/emap')
-rw-r--r-- | src/emap/data/itemd.c | 2 | ||||
-rw-r--r-- | src/emap/data/itemd.h | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/src/emap/data/itemd.h b/src/emap/data/itemd.h index abb07b0..9ec6099 100644 --- a/src/emap/data/itemd.h +++ b/src/emap/data/itemd.h @@ -4,7 +4,7 @@ #ifndef EVOL_MAP_ITEMD #define EVOL_MAP_ITEMD -struct ItemdExt *itemd_get_by_item(struct item *item); +struct ItemdExt *itemd_get_by_item(const struct item *item); struct ItemdExt *itemd_get(struct item_data *item); struct ItemdExt *itemd_create(void); |