diff options
Diffstat (limited to 'src/xkbtext.c')
-rw-r--r-- | src/xkbtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbtext.c b/src/xkbtext.c index 6741d1a..91c3c33 100644 --- a/src/xkbtext.c +++ b/src/xkbtext.c @@ -733,7 +733,7 @@ XkbStringText(char *str, unsigned format) } else { *out++ = '0'; - sprintf(out, "%o", *in); + sprintf(out, "%o", (unsigned char)*in); while (*out != '\0') out++; } |