From 32930ef41d1e10923812840a04171ee05b7e63a8 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 26 Jul 2017 16:08:32 -0400 Subject: [PATCH] Fixed 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 f18acec..93f795f 100644 --- a/src/physfs_archiver_zip.c +++ b/src/physfs_archiver_zip.c @@ -322,7 +322,7 @@ static PHYSFS_sint64 ZIP_read(PHYSFS_Io *_io, void *buf, PHYSFS_uint64 len) while (retval < maxread) { - PHYSFS_uint32 before = finfo->stream.total_out; + const PHYSFS_uint32 before = (PHYSFS_uint32) finfo->stream.total_out; int rc; if (finfo->stream.avail_in == 0)