From dff63bfa8e1f26e9a3391ca38d0dc535dbd4c0aa Mon Sep 17 00:00:00 2001 From: Pierrick Bouvier Date: Fri, 20 Dec 2024 19:48:15 -0800 Subject: [PATCH] fix type Signed-off-by: Pierrick Bouvier --- tests/tcg/plugins/discons.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tcg/plugins/discons.c b/tests/tcg/plugins/discons.c index 26b83cca9e56f..481bc8bcce29d 100644 --- a/tests/tcg/plugins/discons.c +++ b/tests/tcg/plugins/discons.c @@ -53,8 +53,8 @@ static void insn_exec(unsigned int vcpu_index, void *userdata) static void vcpu_tb_trans(qemu_plugin_id_t id, struct qemu_plugin_tb *tb) { - size_t i; - size_t n_insns = qemu_plugin_tb_n_insns(tb); + uint64_t i; + uint64_t n_insns = qemu_plugin_tb_n_insns(tb); g_autoptr(GString) s = g_string_new(""); uint64_t vaddr = qemu_plugin_tb_vaddr(tb);