diff options
Diffstat (limited to 'Build/source/texk/mendexk/convert.c')
-rw-r--r-- | Build/source/texk/mendexk/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/mendexk/convert.c b/Build/source/texk/mendexk/convert.c index eae28c970e9..ce89c06f7fe 100644 --- a/Build/source/texk/mendexk/convert.c +++ b/Build/source/texk/mendexk/convert.c @@ -217,7 +217,7 @@ int convert(char *buff1, char *buff2) i++; continue; } - chr = UCS2toJIS(UTF8StoUCS(&buff1[i])); + chr = UCS2toJIS(UTF8StoUCS((unsigned char*)&buff1[i])); if (chr==0) chr = 0xffff; /* conversion failed */ chr |= 0x8080; buff3[0]=BYTE3(chr); |