|
|
@@ -850,8 +850,8 @@ PHYSFS_sint64 __PHYSFS_platformWrite(void *opaque, const void *buffer,
|
|
|
int __PHYSFS_platformSeek(void *opaque, PHYSFS_uint64 pos)
|
|
|
{
|
|
|
HANDLE FileHandle = ((win32file *) opaque)->handle;
|
|
|
- DWORD HighOrderPos;
|
|
|
- DWORD *pHighOrderPos;
|
|
|
+ LONG HighOrderPos;
|
|
|
+ PLONG pHighOrderPos;
|
|
|
DWORD rc;
|
|
|
|
|
|
/* Get the high order 32-bits of the position */
|
|
|
@@ -888,7 +888,7 @@ int __PHYSFS_platformSeek(void *opaque, PHYSFS_uint64 pos)
|
|
|
PHYSFS_sint64 __PHYSFS_platformTell(void *opaque)
|
|
|
{
|
|
|
HANDLE FileHandle = ((win32file *) opaque)->handle;
|
|
|
- DWORD HighPos = 0;
|
|
|
+ LONG HighPos = 0;
|
|
|
DWORD LowPos;
|
|
|
PHYSFS_sint64 retval;
|
|
|
|