From 3b48b88dd9b319b8e2a604bdec8ba2ae24366e3f Mon Sep 17 00:00:00 2001 From: Pierrick Bouvier Date: Fri, 20 Dec 2024 19:48:15 -0800 Subject: [PATCH] fix type --- 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 26b83cca9e56..481bc8bcce29 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);