diff options
Diffstat (limited to 'src/map/send.c')
-rw-r--r-- | src/map/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/send.c b/src/map/send.c index 0e281b6..06e0cfc 100644 --- a/src/map/send.c +++ b/src/map/send.c @@ -180,7 +180,7 @@ void send_changenpc_title (struct map_session_data *sd, const int npcId, const c WFIFOW (fd, 2) = sz; WFIFOL (fd, 4) = npcId; WFIFOW (fd, 8) = len; - strcpy (WFIFOP (fd, 10), name); + strcpy ((char*)WFIFOP (fd, 10), name); WFIFOSET (fd, sz); } @@ -188,7 +188,7 @@ void send_join_ack(int fd, const char *const name, int flag) { WFIFOHEAD (fd, 27); WFIFOW (fd, 0) = 0xb08; - safestrncpy (WFIFOP (fd, 2), name, 24); + safestrncpy ((char*)WFIFOP (fd, 2), name, 24); WFIFOB (fd, 26) = flag; WFIFOSET (fd, 27); } |