More patched to compile. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Thu, 06 Oct 2011 03:26:51 -0400
branchstable-2.0
changeset 1190 28cedf325670
parent 1189 ad9222d6dcd5
child 1195 d41453fa3ae0
More patched to compile.
platform/posix.c
--- a/platform/posix.c	Thu Oct 06 03:25:18 2011 -0400
+++ b/platform/posix.c	Thu Oct 06 03:26:51 2011 -0400
@@ -383,7 +383,7 @@
 {
     PHYSFS_sint64 pos = __PHYSFS_platformTell(opaque);
     PHYSFS_sint64 len = __PHYSFS_platformFileLength(opaque);
-    return((tell < 0) || (len < 0) || (pos >= len));
+    return((pos < 0) || (len < 0) || (pos >= len));
 } /* __PHYSFS_platformEOF */