diff --git a/src/athena/FileWriterWin32.cpp b/src/athena/FileWriterWin32.cpp index 9a6cd43..684927d 100644 --- a/src/athena/FileWriterWin32.cpp +++ b/src/athena/FileWriterWin32.cpp @@ -89,7 +89,7 @@ atUint64 FileWriter::position() const { LARGE_INTEGER li = {}; LARGE_INTEGER res; SetFilePointerEx(m_fileHandle, li, &res, FILE_CURRENT); - return res.QuadPart; + return static_cast(res.QuadPart); } atUint64 FileWriter::length() const { return utility::fileSize(m_filename); }