From b7694abe3cbf1c6a46d3409d5902ec34afb2ab9e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 6 Oct 2011 03:26:51 -0400 Subject: [PATCH] More patched to compile. --- platform/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/posix.c b/platform/posix.c index b63c8f9e..652d9f77 100644 --- a/platform/posix.c +++ b/platform/posix.c @@ -383,7 +383,7 @@ int __PHYSFS_platformEOF(void *opaque) { 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 */