diff --git a/vendor/POCO/Foundation/src/File_WIN32U.cpp b/vendor/POCO/Foundation/src/File_WIN32U.cpp index 75b5da85..879e9498 100644 --- a/vendor/POCO/Foundation/src/File_WIN32U.cpp +++ b/vendor/POCO/Foundation/src/File_WIN32U.cpp @@ -309,7 +309,7 @@ void FileImpl::renameToImpl(const std::string& path, int options) std::wstring upath; convertPath(path, upath); if (options & OPT_FAIL_ON_OVERWRITE_IMPL) { - if (MoveFileExW(_upath.c_str(), upath.c_str(), NULL) == 0) + if (MoveFileExW(_upath.c_str(), upath.c_str(), 0) == 0) handleLastErrorImpl(_path); } else { if (MoveFileExW(_upath.c_str(), upath.c_str(), MOVEFILE_REPLACE_EXISTING) == 0)