diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-09 19:09:30 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-09 19:09:30 +0000 |
commit | 67e8d17feb8e5562b357909d70c627813e825b2b (patch) | |
tree | 202c4ef0b136ea33e29e09f410bb2c11b7ea8600 /src/map/npc.c | |
parent | 82e095822ab5b3638dad0beef8d974d155fc7d2d (diff) | |
download | hercules-67e8d17feb8e5562b357909d70c627813e825b2b.tar.gz hercules-67e8d17feb8e5562b357909d70c627813e825b2b.tar.bz2 hercules-67e8d17feb8e5562b357909d70c627813e825b2b.tar.xz hercules-67e8d17feb8e5562b357909d70c627813e825b2b.zip |
- Fixed some compiling warnings.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10196 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 01ade4d02..20b7206d4 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1206,8 +1206,8 @@ int npc_scriptcont(struct map_session_data *sd,int id) TBL_NPC* nd_sd=(TBL_NPC*)map_id2bl(sd->npc_id); TBL_NPC* nd=(TBL_NPC*)map_id2bl(id); ShowDebug("npc_scriptcont: %s (sd->npc_id=%d) is not %s (id=%d).\n", - nd_sd?nd_sd->name:"'Unknown NPC'", sd->npc_id, - nd?nd->name:"'Unknown NPC'", id); + nd_sd?(char*)nd_sd->name:"'Unknown NPC'", (int)sd->npc_id, + nd?(char*)nd->name:"'Unknown NPC'", (int)id); return 1; } |