mirror of https://github.com/encounter/SDL.git
os2iconv.c (_createUconvObj): cast to unsigned char, to be safe.
This commit is contained in:
parent
2052b5bc3e
commit
dac6516057
|
@ -73,7 +73,8 @@ static int _createUconvObj(const char *code, UconvObject *uobj)
|
||||||
{
|
{
|
||||||
UniChar uc_code[MAX_CP_NAME_LEN];
|
UniChar uc_code[MAX_CP_NAME_LEN];
|
||||||
int i;
|
int i;
|
||||||
const char *ch = code;
|
const unsigned char *ch =
|
||||||
|
(const unsigned char *)code;
|
||||||
|
|
||||||
if (code == NULL)
|
if (code == NULL)
|
||||||
uc_code[0] = 0;
|
uc_code[0] = 0;
|
||||||
|
|
Loading…
Reference in New Issue