mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
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:
parent
9cb22c41a6
commit
edff1cff6f
@ -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);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user