(BODY): Make buf and cp char instead of unsigned char array resp. pointer.
authordrepper <drepper>
Sat, 28 Jul 2007 20:13:25 +0000 (20:13 +0000)
committerdrepper <drepper>
Sat, 28 Jul 2007 20:13:25 +0000 (20:13 +0000)
iconvdata/gbk.c

index ad8a374..c90ad77 100644 (file)
@@ -13213,8 +13213,8 @@ static const char __gbk_from_ucs4_tab12[][2] =
 #define BODY \
   {                                                                          \
     uint32_t ch = get32 (inptr);                                             \
-    unsigned char buf[2];                                                    \
-    const unsigned char *cp = buf;                                           \
+    char buf[2];                                                             \
+    const char *cp = buf;                                                    \
                                                                              \
     if (ch <= L'\x7f')                                                       \
       /* It's plain ASCII.  */                                               \