diff options
Diffstat (limited to 'CPP/Windows/FileIO.cpp')
-rw-r--r-- | CPP/Windows/FileIO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/Windows/FileIO.cpp b/CPP/Windows/FileIO.cpp index ea692a3d..56e6ca45 100644 --- a/CPP/Windows/FileIO.cpp +++ b/CPP/Windows/FileIO.cpp @@ -130,7 +130,7 @@ bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition if (low == 0xFFFFFFFF) if (::GetLastError() != NO_ERROR) return false; - newPosition = (((UInt64)high) << 32) + low; + newPosition = (((UInt64)(UInt32)high) << 32) + low; return true; } |