summaryrefslogtreecommitdiff
path: root/src/map/storage.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-19 14:53:45 +0100
committerHaru <haru@dotalux.com>2016-03-20 18:32:06 +0100
commit3ce598dc1ef86c5fe319536a999246a49c3406bc (patch)
tree3e14246e64adff903d18ffdccd4030071eed9c47 /src/map/storage.c
parent504770250595fdb8f3f56400ea101a4d0d45faff (diff)
downloadhercules-3ce598dc1ef86c5fe319536a999246a49c3406bc.tar.gz
hercules-3ce598dc1ef86c5fe319536a999246a49c3406bc.tar.bz2
hercules-3ce598dc1ef86c5fe319536a999246a49c3406bc.tar.xz
hercules-3ce598dc1ef86c5fe319536a999246a49c3406bc.zip
Added const qualifier to some typecasts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/storage.c')
-rw-r--r--src/map/storage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/storage.c b/src/map/storage.c
index ceac85916..b8ec1e31e 100644
--- a/src/map/storage.c
+++ b/src/map/storage.c
@@ -52,8 +52,8 @@ struct guild_storage_interface *gstorage;
*------------------------------------------*/
int storage_comp_item(const void *i1_, const void *i2_)
{
- const struct item *i1 = (const struct item *)i1_;
- const struct item *i2 = (const struct item *)i2_;
+ const struct item *i1 = i1_;
+ const struct item *i2 = i2_;
if (i1->nameid == i2->nameid)
return 0;