From 4da22050a04f9cd45097dbdc678ab20971f5570b Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 25 Aug 2018 17:15:13 +0200 Subject: Fix some const violations detected with the const-safe strchr() implementation Signed-off-by: Haru --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/npc.c') 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; -- cgit v1.2.3-60-g2f50