From 8dc48cb210ecdd46b0ffbd8658ca2f24a93eae8c Mon Sep 17 00:00:00 2001 From: love-code-yeyixiao <188240888@qq.com> Date: Sun, 23 Jun 2024 13:53:49 +0800 Subject: [PATCH] 1.14.3 --- Sandboxie/core/dll/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sandboxie/core/dll/kernel.c b/Sandboxie/core/dll/kernel.c index e744c265..6fabf1a3 100644 --- a/Sandboxie/core/dll/kernel.c +++ b/Sandboxie/core/dll/kernel.c @@ -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;