diff options
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r-- | plugins/SpellChecker/src/dictionary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SpellChecker/src/dictionary.cpp b/plugins/SpellChecker/src/dictionary.cpp index d804b2336a..28b412000e 100644 --- a/plugins/SpellChecker/src/dictionary.cpp +++ b/plugins/SpellChecker/src/dictionary.cpp @@ -423,7 +423,7 @@ protected: wchar_t* fromHunspell(const char *hunspellWord) { int len = MultiByteToWideChar(codePage, 0, hunspellWord, -1, nullptr, 0); - WCHAR *ret = (WCHAR *)malloc((len + 1) * sizeof(WCHAR)); + wchar_t *ret = (wchar_t *)malloc((len + 1) * sizeof(wchar_t)); MultiByteToWideChar(codePage, 0, hunspellWord, -1, ret, len + 1); return ret; } |