summaryrefslogtreecommitdiff
path: root/lib/libX11/src/xlibi18n/lcUniConv/iso8859_5.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/xlibi18n/lcUniConv/iso8859_5.h')
-rw-r--r--lib/libX11/src/xlibi18n/lcUniConv/iso8859_5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/xlibi18n/lcUniConv/iso8859_5.h b/lib/libX11/src/xlibi18n/lcUniConv/iso8859_5.h
index cdd6c45db..131e8d0a0 100644
--- a/lib/libX11/src/xlibi18n/lcUniConv/iso8859_5.h
+++ b/lib/libX11/src/xlibi18n/lcUniConv/iso8859_5.h
@@ -59,7 +59,7 @@ iso8859_5_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)