From 14e240af17149f6c26eead25fd27ca3131c3def9 Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Sun, 29 Aug 2021 18:27:05 -0600 Subject: [PATCH] fix a cast on the size of the resources --- src/resources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources.c b/src/resources.c index b12fe26..d900944 100644 --- a/src/resources.c +++ b/src/resources.c @@ -71,7 +71,7 @@ HRESULT Rsrc_setup(void) Log(LDEBUG, "system resource length = %u", (UINT)(&_binary_sysresources_zip_size)); zip_error_init(&errinfo); - syssource = zip_source_buffer_create(_binary_sysresources_zip_start, (zip_uint64_t)(&_binary_sysresources_zip_size), + syssource = zip_source_buffer_create(_binary_sysresources_zip_start, (UINT_PTR)(&_binary_sysresources_zip_size), 0, &errinfo); if (!syssource) {