diff options
Diffstat (limited to 'plugins/CryptoPP/src/utf8.cpp')
-rw-r--r-- | plugins/CryptoPP/src/utf8.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/utf8.cpp b/plugins/CryptoPP/src/utf8.cpp index 83d4e4a97a..6a0a6e21a7 100644 --- a/plugins/CryptoPP/src/utf8.cpp +++ b/plugins/CryptoPP/src/utf8.cpp @@ -54,7 +54,7 @@ LPWSTR __cdecl utf8decode(LPCSTR str) size_t len = strlen(str) + 1;
SAFE_FREE(wszOut);
- if ((wszOut = (LPWSTR)malloc(len*sizeof(WCHAR))) == nullptr)
+ if ((wszOut = (LPWSTR)malloc(len*sizeof(wchar_t))) == nullptr)
return nullptr;
p = (LPSTR)str;
i = 0;
|