fix a cast on the size of the resources

This commit is contained in:
Amy G. Bowersox 2021-08-29 18:27:05 -06:00
parent 46c2d5ce27
commit 14e240af17

View File

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