summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 6e22c69b3..95893ad11 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -875,7 +875,7 @@ int npc_checknear(struct map_session_data *sd,int id)
*/
int npc_globalmessage(const char *name,char *mes)
{
- struct npc_data *nd=strdb_search(npcname_db,name);
+ struct npc_data *nd=(struct npc_data *) strdb_search(npcname_db,name);
char temp[100];
char ntemp[50];
char *ltemp;