summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xwininfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwininfo.c b/xwininfo.c
index 73cc344..89863b2 100644
--- a/xwininfo.c
+++ b/xwininfo.c
@@ -1911,7 +1911,7 @@ print_utf8 (const char *prefix, const char *u8str, size_t length, const char *su
if (iconv_from_utf8 != (iconv_t) -1) {
Bool done = True;
- ICONV_CONST char *inp = u8str;
+ ICONV_CONST char *inp = (ICONV_CONST char *) u8str;
char convbuf[BUFSIZ];
int convres;