src/editor/choosesyntax.c: cleanup -Wcast-qual warning.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2016-02-20 12:29:59 +00:00 committed by Andrew Borodin
parent 9cb22c41a6
commit edff1cff6f

View File

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