r749 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jul 23 19:39:37 EDT 2005


Author: icculus
Date: 2005-07-23 19:39:37 -0400 (Sat, 23 Jul 2005)
New Revision: 749

Modified:
   trunk/CHANGELOG
   trunk/physfs.c
Log:
Fixed warning in physfs.c.


Modified: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	2005-07-23 23:39:12 UTC (rev 748)
+++ trunk/CHANGELOG	2005-07-23 23:39:37 UTC (rev 749)
@@ -6,7 +6,8 @@
            More minor OS/2 tweaks. Updated zlib to 1.2.3, which properly
            includes the security fix. Fixed "make dist" to handle .svn dirs
            and other file changes. Removed "debian" directory. Allow a mount
-           point of NULL to be "/", per the documentation.
+           point of NULL to be "/", per the documentation. Fixed warning in
+           physfs.c.
            Upped version to 1.1.0 ... first release of 1.1 dev branch!
 07212005 - Patched to compile on OS/2 again.
 07132005 - Updated zlib to 1.2.2, and patched it for this security hole:

Modified: trunk/physfs.c
===================================================================
--- trunk/physfs.c	2005-07-23 23:39:12 UTC (rev 748)
+++ trunk/physfs.c	2005-07-23 23:39:37 UTC (rev 749)
@@ -1963,7 +1963,7 @@
             ((offset >= 0) && (offset <= fh->buffill - fh->bufpos)) /* fwd */
             || ((offset < 0) && (-offset <= fh->bufpos)) /* backward */ )
         {
-            fh->bufpos += offset;
+            fh->bufpos += (PHYSFS_uint32) offset;
             return(1); /* successful seek */
         } /* if */
     } /* if */




More information about the physfs-commits mailing list