diff --git a/HLLib/FileStream.cpp b/HLLib/FileStream.cpp index 88c7e5d..a650fe5 100644 --- a/HLLib/FileStream.cpp +++ b/HLLib/FileStream.cpp @@ -172,7 +172,7 @@ hlULongLong CFileStream::GetStreamPointer() const LARGE_INTEGER liPointer; return SetFilePointerEx(this->hFile, liOffset, &liPointer, FILE_CURRENT) ? static_cast(liPointer.QuadPart) : 0; #else - return (hlUInt)lseek(this->iFile, 0, SEEK_CUR); + return (hlULongLong)lseek(this->iFile, 0, SEEK_CUR); #endif } @@ -218,7 +218,7 @@ hlULongLong CFileStream::Seek(hlLongLong iOffset, HLSeekMode eSeekMode) break; } - return (hlUInt)lseek(this->iFile, iOffset, iMode); + return (hlULongLong)lseek(this->iFile, iOffset, iMode); #endif }