From a888835962db6b542d16a1eb9585352a5070e84a Mon Sep 17 00:00:00 2001 From: lazymio Date: Mon, 1 Nov 2021 11:02:44 +0100 Subject: [PATCH] Fix mingw64 and win32 build --- uc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uc.c b/uc.c index dc52ce8b..d023918e 100644 --- a/uc.c +++ b/uc.c @@ -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;