summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9e649df40..7ebf11b8a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4778,8 +4778,8 @@ void clif_GlobalMessage(struct block_list *bl,char *message)
WBUFW(buf,0)=cmd;
WBUFW(buf,2)=len+8;
WBUFL(buf,4)=bl->id;
- strncpy(WBUFP(buf,8),message,len);
- clif_send(buf,WBUFW(buf,2),bl,AREA_CHAT_WOC);
+ strncpy((char *) WBUFP(buf,8),message,len);
+ clif_send((unsigned char *) buf,WBUFW(buf,2),bl,AREA_CHAT_WOC);
}
/*==========================================