From 83102f22528446819943769781e1404887779ab3 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 3 Aug 2012 11:39:29 +0000 Subject: Fixed the last warning reported in clang, super mega ultra hyper plus thanks to mkbu95 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16566 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/mob.c b/src/map/mob.c index 4ed1f3848..154c841df 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -984,7 +984,7 @@ int mob_spawn (struct mob_data *md) md->tdmg = 0; if (md->lootitem) - memset(md->lootitem, 0, sizeof(md->lootitem)); + memset(md->lootitem, 0, sizeof(*md->lootitem)); md->lootitem_count = 0; -- cgit v1.2.3-70-g09d2