From 77947120afc4a483952100a7f7cb4f6aa794bbd4 Mon Sep 17 00:00:00 2001 From: love-code-yeyixiao <188240888@qq.com> Date: Sun, 23 Jun 2024 15:27:10 +0800 Subject: [PATCH] fix --- 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 c68b083e..d271a851 100644 --- a/Sandboxie/core/dll/kernel.c +++ b/Sandboxie/core/dll/kernel.c @@ -474,7 +474,7 @@ const wchar_t* GetWC(const char* c) { const size_t cSize = strlen(c) + 1; - wchar_t* wc=(wchar_t*)GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, sizeof(wchar_t) * cSize)); + wchar_t* wc=(wchar_t*)GlobalAlloc(GMEM_FIXED | GMEM_ZEROINIT, sizeof(wchar_t) * cSize); mbstowcs(wc, c, cSize); return wc;