mirror of
https://github.com/isledecomp/SIEdit.git
synced 2025-02-17 00:40:42 -05:00
lib: use LONG instead of DWORD for high word
This commit is contained in:
parent
3a9f0ac05e
commit
7f3969e657
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ bool File::Open(const wchar_t *c, Mode mode)
|
|||
size_t File::pos()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
DWORD high = 0;
|
||||
LONG high = 0;
|
||||
DWORD low = SetFilePointer(m_Handle, 0, &high, FILE_CURRENT);
|
||||
return (high << 32) | low;
|
||||
#else
|
||||
|
@ -79,7 +79,7 @@ size_t File::size()
|
|||
void File::seek(size_t p, SeekMode s)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
DWORD high = p >> 32;
|
||||
LONG high = p >> 32;
|
||||
DWORD low = p;
|
||||
|
||||
DWORD m;
|
||||
|
|
Loading…
Reference in a new issue