r931 - branches/stable-1.0 branches/stable-1.0/platform trunk trunk/platform
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Mar 8 21:44:53 EST 2008
Author: icculus
Date: 2008-03-08 21:44:50 -0500 (Sat, 08 Mar 2008)
New Revision: 931
Modified:
branches/stable-1.0/CHANGELOG
branches/stable-1.0/platform/win32.c
trunk/CHANGELOG.txt
trunk/platform/windows.c
Log:
Fixed compiler warnings in win32 API calls (thanks, Dennis!).
Modified: branches/stable-1.0/CHANGELOG
===================================================================
--- branches/stable-1.0/CHANGELOG 2008-02-20 12:24:10 UTC (rev 930)
+++ branches/stable-1.0/CHANGELOG 2008-03-09 02:44:50 UTC (rev 931)
@@ -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.
Modified: branches/stable-1.0/platform/win32.c
===================================================================
--- branches/stable-1.0/platform/win32.c 2008-02-20 12:24:10 UTC (rev 930)
+++ branches/stable-1.0/platform/win32.c 2008-03-09 02:44:50 UTC (rev 931)
@@ -850,8 +850,8 @@
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 @@
PHYSFS_sint64 __PHYSFS_platformTell(void *opaque)
{
HANDLE FileHandle = ((win32file *) opaque)->handle;
- DWORD HighPos = 0;
+ LONG HighPos = 0;
DWORD LowPos;
PHYSFS_sint64 retval;
Modified: trunk/CHANGELOG.txt
===================================================================
--- trunk/CHANGELOG.txt 2008-02-20 12:24:10 UTC (rev 930)
+++ trunk/CHANGELOG.txt 2008-03-09 02:44:50 UTC (rev 931)
@@ -2,6 +2,7 @@
* CHANGELOG.
*/
+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.
Modified: trunk/platform/windows.c
===================================================================
--- trunk/platform/windows.c 2008-02-20 12:24:10 UTC (rev 930)
+++ trunk/platform/windows.c 2008-03-09 02:44:50 UTC (rev 931)
@@ -1089,8 +1089,8 @@
int __PHYSFS_platformSeek(void *opaque, PHYSFS_uint64 pos)
{
HANDLE Handle = ((WinApiFile *) opaque)->handle;
- DWORD HighOrderPos;
- DWORD *pHighOrderPos;
+ LONG HighOrderPos;
+ PLONG pHighOrderPos;
DWORD rc;
/* Get the high order 32-bits of the position */
@@ -1127,7 +1127,7 @@
PHYSFS_sint64 __PHYSFS_platformTell(void *opaque)
{
HANDLE Handle = ((WinApiFile *) opaque)->handle;
- DWORD HighPos = 0;
+ LONG HighPos = 0;
DWORD LowPos;
PHYSFS_sint64 retval;
More information about the physfs-commits
mailing list