r748 - branches/stable-1.0

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


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

Modified:
   branches/stable-1.0/CHANGELOG
   branches/stable-1.0/physfs.c
Log:
Fixed compiler warning in physfs.c.


Modified: branches/stable-1.0/CHANGELOG
===================================================================
--- branches/stable-1.0/CHANGELOG	2005-07-23 23:10:51 UTC (rev 747)
+++ branches/stable-1.0/CHANGELOG	2005-07-23 23:39:12 UTC (rev 748)
@@ -7,7 +7,7 @@
 07232005 - Fixed bug in zip archiver (thanks, Jörg Walter!). 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. Upped version to 1.0.1.
+           directory. Fixed warning in physfs.c. Upped version to 1.0.1.
 07132005 - Moved to zlib122, and security fix discussed here:
            http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
 06122005 - Added support for mingw to Unix build process (thanks, Matze!).

Modified: branches/stable-1.0/physfs.c
===================================================================
--- branches/stable-1.0/physfs.c	2005-07-23 23:10:51 UTC (rev 747)
+++ branches/stable-1.0/physfs.c	2005-07-23 23:39:12 UTC (rev 748)
@@ -1872,7 +1872,7 @@
             ((offset >= 0) && (offset <= h->buffill - h->bufpos)) /* forwards */
             || ((offset < 0) && (-offset <= h->bufpos)) /* backwards */ )
         {
-            h->bufpos += offset;
+            h->bufpos += (PHYSFS_uint32) offset;
             return(1); /* successful seek */
         } /* if */
     } /* if */




More information about the physfs-commits mailing list