summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
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 3bbb92216..5f3eb374e 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -2130,7 +2130,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);