diff options
Diffstat (limited to 'extern/mantaflow/preprocessed/fileio/ioutil.cpp')
-rw-r--r-- | extern/mantaflow/preprocessed/fileio/ioutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/mantaflow/preprocessed/fileio/ioutil.cpp b/extern/mantaflow/preprocessed/fileio/ioutil.cpp index cf40d71fcc4..2c7ac7be00e 100644 --- a/extern/mantaflow/preprocessed/fileio/ioutil.cpp +++ b/extern/mantaflow/preprocessed/fileio/ioutil.cpp @@ -40,7 +40,7 @@ namespace Manta { #if defined(WIN32) || defined(_WIN32) static wstring stringToWstring(const char *str) { - const int length_wc = MultiByteToWideChar(CP_UTF8, 0, str, strlen(str), NULL, 0); + const int length_wc = MultiByteToWideChar(CP_UTF8, 0, str, strlen(str), nullptr, 0); wstring strWide(length_wc, 0); MultiByteToWideChar(CP_UTF8, 0, str, strlen(str), &strWide[0], length_wc); return strWide; |