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); } /* --------------------------------------------------------------------------------------------- */