physfs.c
branchstable-1.0
changeset 735 4fec520a9e87
parent 664 d7729a9feebd
child 760 ca9215fa54f6
--- a/physfs.c	Sat Jul 23 23:00:08 2005 +0000
+++ b/physfs.c	Sat Jul 23 23:39:12 2005 +0000
@@ -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 */