1.14.3
This commit is contained in:
parent
89a25ad37e
commit
8dc48cb210
|
@ -473,7 +473,7 @@ char* itoa(int num, char* str, int radix)
|
|||
const wchar_t* GetWC(const char* c)
|
||||
{
|
||||
const size_t cSize = strlen(c) + 1;
|
||||
wchar_t* wc = malloc(sizeof(wchar_tŁŠ* cSize));
|
||||
wchar_t* wc = (wchar_t*)malloc(sizeof(wchar_t£©* cSize));
|
||||
mbstowcs(wc, c, cSize);
|
||||
|
||||
return wc;
|
||||
|
|
Loading…
Reference in New Issue