summaryrefslogtreecommitdiff
path: root/lib/libX11/src/xlibi18n/lcUniConv/cp1133.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/xlibi18n/lcUniConv/cp1133.h')
-rw-r--r--lib/libX11/src/xlibi18n/lcUniConv/cp1133.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/xlibi18n/lcUniConv/cp1133.h b/lib/libX11/src/xlibi18n/lcUniConv/cp1133.h
index cf79b7aa1..2dc18e84a 100644
--- a/lib/libX11/src/xlibi18n/lcUniConv/cp1133.h
+++ b/lib/libX11/src/xlibi18n/lcUniConv/cp1133.h
@@ -74,7 +74,7 @@ cp1133_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
unsigned char c = 0;
if (wc < 0x00a0) {
- *r = wc;
+ *r = (unsigned char) wc;
return 1;
}
else if (wc >= 0x00a0 && wc < 0x00b0)