about summary refs log tree commit diff
path: root/iconvdata/johab.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/johab.c')
-rw-r--r--iconvdata/johab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/johab.c b/iconvdata/johab.c
index 6a582c0b70..ddc52491a4 100644
--- a/iconvdata/johab.c
+++ b/iconvdata/johab.c
@@ -220,7 +220,7 @@ johab_from_ucs4 (uint32_t ch, unsigned char *cp)
 
 
 /* Definitions used in the body of the `gconv' function.  */
-#define CHARSET_NAME		"JOHAB"
+#define CHARSET_NAME		"JOHAB//"
 #define FROM_LOOP		from_johab
 #define TO_LOOP			to_johab
 #define DEFINE_INIT		1
@@ -243,7 +243,7 @@ johab_from_ucs4 (uint32_t ch, unsigned char *cp)
        if (ch == 0x5c)							      \
 	 ch =  0x20a9;							      \
        else if (ch < 0x7f)						      \
-	 ch = (wchar_t) ch;						      \
+	 ch = (uint32_t) ch;						      \
     */									      \
     if (ch < 0x7f)							      \
       /* Plain ASCII.  */						      \