summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-08-26 15:03:22 +0200
committerGitHub <noreply@github.com>2018-08-26 15:03:22 +0200
commit42f36d1ee5dcc89e288c6ac128be0ff6ed0985e0 (patch)
tree4b164ce3b338c216787403e79898facb00834231 /src/map/clif.c
parent234189f34e5f055c82654b8cd35330822e8aa4d7 (diff)
parent4da22050a04f9cd45097dbdc678ab20971f5570b (diff)
downloadhercules-42f36d1ee5dcc89e288c6ac128be0ff6ed0985e0.tar.gz
hercules-42f36d1ee5dcc89e288c6ac128be0ff6ed0985e0.tar.bz2
hercules-42f36d1ee5dcc89e288c6ac128be0ff6ed0985e0.tar.xz
hercules-42f36d1ee5dcc89e288c6ac128be0ff6ed0985e0.zip
Merge pull request #2189 from MishimaHaruna/c11
Change the language specification to C11 in the autoconf-based builds
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index fd8a3c783..a5955a9bc 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10891,7 +10891,7 @@ static void clif_parse_WisMessage(int fd, struct map_session_data *sd)
// Lordalfa - Paperboy - To whisper NPC commands //
//-------------------------------------------------------//
if (target[0] && (strncasecmp(target,"NPC:",4) == 0) && (strlen(target) > 4)) {
- const char *str = target+4; //Skip the NPC: string part.
+ char *str = target + 4; // Skip the NPC: string part.
struct npc_data *nd;
if ((nd = npc->name2id(str))) {
char split_data[NUM_WHISPER_VAR][CHAT_SIZE_MAX];