From edff1cff6fff1d9a0ca590d18bd2b0f49cbe2dd7 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Sat, 20 Feb 2016 12:29:59 +0000 Subject: [PATCH] src/editor/choosesyntax.c: cleanup -Wcast-qual warning. Signed-off-by: Andreas Mohr Signed-off-by: Andrew Borodin --- src/editor/choosesyntax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/choosesyntax.c b/src/editor/choosesyntax.c index bec3bdca8..b7e402e0d 100644 --- a/src/editor/choosesyntax.c +++ b/src/editor/choosesyntax.c @@ -61,7 +61,7 @@ static int pstrcmp (const void *p1, const void *p2) { - return strcmp (*(char **) p1, *(char **) p2); + return strcmp (*(char *const *) p1, *(char *const *) p2); } /* --------------------------------------------------------------------------------------------- */