From b311ee44adc8beb3b9e42489f05dcc30a1b2936a Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 14 Aug 2017 21:22:30 -0400 Subject: [PATCH] Fixed one more Visual Studio compiler warning. --- src/physfs_archiver_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physfs_archiver_zip.c b/src/physfs_archiver_zip.c index daa68729..18249154 100644 --- a/src/physfs_archiver_zip.c +++ b/src/physfs_archiver_zip.c @@ -1224,7 +1224,7 @@ static PHYSFS_sint64 zip64_find_end_of_central_dir(PHYSFS_Io *io, if ((offset < pos) && (pos > 4)) { const size_t maxbuflen = 256 * 1024; - size_t len = pos - offset; + size_t len = (size_t) (pos - offset); PHYSFS_uint8 *buf = NULL; PHYSFS_sint32 i;