diff options
author | Haru <haru@dotalux.com> | 2018-08-25 17:15:13 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-08-25 18:50:24 +0200 |
commit | 4da22050a04f9cd45097dbdc678ab20971f5570b (patch) | |
tree | 4b164ce3b338c216787403e79898facb00834231 /src/map/npc.c | |
parent | 8776be77524450e321064f0a65c8f941284e1c34 (diff) | |
download | hercules-4da22050a04f9cd45097dbdc678ab20971f5570b.tar.gz hercules-4da22050a04f9cd45097dbdc678ab20971f5570b.tar.bz2 hercules-4da22050a04f9cd45097dbdc678ab20971f5570b.tar.xz hercules-4da22050a04f9cd45097dbdc678ab20971f5570b.zip |
Fix some const violations detected with the const-safe strchr() implementation
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index f80f8443a..a49fb08eb 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2868,7 +2868,7 @@ static const char *npc_parse_shop(const char *w1, const char *w2, const char *w3 struct npc_item_list *items = NULL; size_t items_count = 40; // Starting items size - char *p; + const char *p; int x, y, dir, m, i, class_; struct npc_data *nd; enum npc_subtype type; |