This commit is contained in:
love-code-yeyixiao 2024-06-23 13:53:49 +08:00
parent 89a25ad37e
commit 8dc48cb210
1 changed files with 1 additions and 1 deletions

View File

@ -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;