Fix mingw64 and win32 build

This commit is contained in:
lazymio 2021-11-01 11:02:44 +01:00
parent fe3b798ba7
commit a888835962
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

2
uc.c
View File

@ -1828,7 +1828,7 @@ uc_err uc_ctl(uc_engine *uc, uc_control_type control, ...)
case UC_CTL_UC_TIMEOUT: {
if (rw == UC_CTL_IO_READ) {
size_t *arch = va_arg(args, size_t *);
uint64_t *arch = va_arg(args, uint64_t *);
*arch = uc->timeout;
} else {
err = UC_ERR_ARG;