Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed compiler warnings in win32 API calls (thanks, Dennis!).
  • Loading branch information
icculus committed Mar 9, 2008
1 parent 32fb2ab commit c14984f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -4,6 +4,7 @@

-- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---

03082008 - Fixed compiler warnings in Windows platform layer (thanks, Dennis!).
02202008 - Various archiver swap and compare functions now check if they are
swapping/comparing an item against itself, for efficiency and
to prevent overlapping memcpy() calls.
Expand Down
6 changes: 3 additions & 3 deletions platform/win32.c
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit c14984f

Please sign in to comment.