diff --git a/src/libs/utils/savefile.cpp b/src/libs/utils/savefile.cpp index ebd310d6794..4406fb8c92b 100644 --- a/src/libs/utils/savefile.cpp +++ b/src/libs/utils/savefile.cpp @@ -88,7 +88,7 @@ bool SaveFile::commit() return false; } #ifdef Q_OS_WIN - FlushFileBuffers(handle()); + FlushFileBuffers(reinterpret_cast(handle())); #else fdatasync(handle()); #endif