diff options
Diffstat (limited to 'lib/linestack.c')
-rw-r--r-- | lib/linestack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/linestack.c b/lib/linestack.c index 241a437d..f8ca32a4 100644 --- a/lib/linestack.c +++ b/lib/linestack.c @@ -106,7 +106,7 @@ int crunch_str(char **str, int width, FILE *out, } else if (bytes<1) { bytes = 1; sprintf(buf, "<%02X>", *end); - } else sprintf(buf, "U+%04X", wc); + } else sprintf(buf, "U+%04X", (unsigned)wc); col = strlen(buf); if (width-columns<col) buf[col = width-columns] = 0; if (out) fputs(buf, out); |