os2iconv.c (_createUconvObj): cast to unsigned char, to be safe.
diff --git a/src/core/os2/geniconv/os2iconv.c b/src/core/os2/geniconv/os2iconv.c
index 2aed47f..c24cc54 100644
--- a/src/core/os2/geniconv/os2iconv.c
+++ b/src/core/os2/geniconv/os2iconv.c
@@ -73,7 +73,8 @@ static int _createUconvObj(const char *code, UconvObject *uobj)
{
UniChar uc_code[MAX_CP_NAME_LEN];
int i;
- const char *ch = code;
+ const unsigned char *ch =
+ (const unsigned char *)code;
if (code == NULL)
uc_code[0] = 0;