summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-30 04:13:46 +0000
committerglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-30 04:13:46 +0000
commitde3e9a7aea38e374a91d9f036da043f14e58b9f3 (patch)
tree0db9e5ba7201a1fc332b8abe87d75d6c3069c7ee /src/map/intif.c
parenta97c2837c050d53bed4010f3399dcd5d0ad8b269 (diff)
downloadhercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.gz
hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.bz2
hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.tar.xz
hercules-de3e9a7aea38e374a91d9f036da043f14e58b9f3.zip
-Fix old warnings. 1st step to get ride of -wno flag in configure.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16987 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index 7ae455d93..8c66db6be 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -2134,7 +2134,7 @@ void intif_request_accinfo(int u_fd, int aid, int group_id, char *query)
WFIFOL(inter_fd,2) = u_fd;
WFIFOL(inter_fd,6) = aid;
WFIFOL(inter_fd,10) = group_id;
- safestrncpy(WFIFOP(inter_fd,14), query, NAME_LENGTH);
+ safestrncpy((char *)WFIFOP(inter_fd,14), query, NAME_LENGTH);
WFIFOSET(inter_fd,2 + 4 + 4 + 4 + NAME_LENGTH);