Explorar o código

More patched to compile.

Ryan C. Gordon %!s(int64=14) %!d(string=hai) anos
pai
achega
b7694abe3c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      platform/posix.c

+ 1 - 1
platform/posix.c

@@ -383,7 +383,7 @@ int __PHYSFS_platformEOF(void *opaque)
 {
 {
     PHYSFS_sint64 pos = __PHYSFS_platformTell(opaque);
     PHYSFS_sint64 pos = __PHYSFS_platformTell(opaque);
     PHYSFS_sint64 len = __PHYSFS_platformFileLength(opaque);
     PHYSFS_sint64 len = __PHYSFS_platformFileLength(opaque);
-    return((tell < 0) || (len < 0) || (pos >= len));
+    return((pos < 0) || (len < 0) || (pos >= len));
 } /* __PHYSFS_platformEOF */
 } /* __PHYSFS_platformEOF */