From 0a1a779e51fdd00e5c3bb4173a92cd02f5d1bfd5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Nov 2018 21:12:20 +0300 Subject: Fix compilation warning in itemd_get_by_item. --- src/emap/data/itemd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emap/data/itemd.c') 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; -- cgit v1.2.3-70-g09d2