src/physfs_platform_posix.c
changeset 1581 ad04b99afb88
parent 1559 aaee2b83291f
child 1591 97d3641bfba3
--- a/src/physfs_platform_posix.c	Mon Aug 14 17:10:01 2017 -0400
+++ b/src/physfs_platform_posix.c	Mon Aug 14 19:58:56 2017 -0400
@@ -247,7 +247,7 @@
 int __PHYSFS_platformSeek(void *opaque, PHYSFS_uint64 pos)
 {
     const int fd = *((int *) opaque);
-    const int rc = lseek(fd, (off_t) pos, SEEK_SET);
+    const off_t rc = lseek(fd, (off_t) pos, SEEK_SET);
     BAIL_IF(rc == -1, errcodeFromErrno(), 0);
     return 1;
 } /* __PHYSFS_platformSeek */