修正因char/u8char分离造成的各种强制类型转换错误

This commit is contained in:
2020-07-11 16:45:24 +08:00
parent 72f641c7a7
commit 353bdef68b
3 changed files with 71 additions and 71 deletions

View File

@@ -203,7 +203,7 @@ namespace hgl
{
int wlen;
u16char *ws=u8_to_u16(str,strlen(str),wlen);
u16char *ws=u8_to_u16(str,hgl::strlen(str),wlen);
return UTF16String::newOf(ws,wlen);
}