Skip to content
Snippets Groups Projects
Commit 540c4b19 authored by Yuchen Deng's avatar Yuchen Deng Committed by Oswald Buddenhagen
Browse files

Fix compilation of MinGW-w64 4.7


Change-Id: Ieab538a077351549727c94dad17d4d77ab492a97
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent b9d15f12
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ bool SaveFile::commit() ...@@ -88,7 +88,7 @@ bool SaveFile::commit()
return false; return false;
} }
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
FlushFileBuffers(handle()); FlushFileBuffers(reinterpret_cast<HANDLE>(handle()));
#else #else
fdatasync(handle()); fdatasync(handle());
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment