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) {