summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xdpyinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index 84d5b2a..2b94394 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -159,7 +159,7 @@ static int print_event_mask(char *buf, int lastcol, int indent, long mask);
static int StrCmp(const void *a, const void *b)
{
- return strcmp(*(char **)a, *(char **)b);
+ return strcmp(*(const char * const *)a, *(const char * const *)b);
}
static void