Commit 540c4b19 authored by Yuchen Deng's avatar Yuchen Deng Committed by Oswald Buddenhagen

Fix compilation of MinGW-w64 4.7

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