From de3e9a7aea38e374a91d9f036da043f14e58b9f3 Mon Sep 17 00:00:00 2001 From: glighta Date: Fri, 30 Nov 2012 04:13:46 +0000 Subject: -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 --- src/map/intif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/intif.c') 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); -- cgit v1.2.3-60-g2f50