summaryrefslogtreecommitdiff
path: root/xc/lib/X11/lcUniConv/ascii.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/X11/lcUniConv/ascii.h')
-rw-r--r--xc/lib/X11/lcUniConv/ascii.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/xc/lib/X11/lcUniConv/ascii.h b/xc/lib/X11/lcUniConv/ascii.h
index bdad43466..183de0bb4 100644
--- a/xc/lib/X11/lcUniConv/ascii.h
+++ b/xc/lib/X11/lcUniConv/ascii.h
@@ -1,21 +1,22 @@
+/* $XFree86: xc/lib/X11/lcUniConv/ascii.h,v 1.3 2000/11/29 17:40:28 dawes Exp $ */
/*
* ASCII
*/
static int
-ascii_mbtowc (conv_t conv, wchar_t *pwc, const unsigned char *s, int n)
+ascii_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
{
unsigned char c = *s;
if (c < 0x80) {
- *pwc = (wchar_t) c;
+ *pwc = (ucs4_t) c;
return 1;
}
return RET_ILSEQ;
}
static int
-ascii_wctomb (conv_t conv, unsigned char *r, wchar_t wc, int n)
+ascii_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
if (wc < 0x0080) {
*r = wc;