From: Richard Henderson <richard.henderson@linaro.org>
To: Yonggang Luo <luoyonggang@gmail.com>, qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH 2/4] plugin: Fixes compiling errors on msys2/mingw
Date: Sat, 26 Sep 2020 20:18:13 -0700 [thread overview]
Message-ID: <b6e76dcf-187c-4e49-a82c-ed0b637d07b1@linaro.org> (raw)
In-Reply-To: <20200926140415.1286-3-luoyonggang@gmail.com>
On 9/26/20 7:04 AM, Yonggang Luo wrote:
> @@ -72,7 +72,7 @@ static void vcpu_tb_exec(unsigned int cpu_index, void *udata)
> CPUCount *count = max_cpus ?
> g_ptr_array_index(counts, cpu_index) : &inline_count;
>
> - unsigned long n_insns = (unsigned long)udata;
> + uint64_t n_insns = (uint64_t)udata;
This needs to be uintptr_t.
r~
next prev parent reply other threads:[~2020-09-27 3:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-26 14:04 [PATCH 0/4] Enable plugin support on msys2/mingw Yonggang Luo
2020-09-26 14:04 ` [PATCH 1/4] plugins: Fixes a issue when dlsym failed, the handle not closed Yonggang Luo
2020-09-26 20:30 ` Philippe Mathieu-Daudé
2020-09-26 14:04 ` [PATCH 2/4] plugin: Fixes compiling errors on msys2/mingw Yonggang Luo
2020-09-26 20:27 ` Philippe Mathieu-Daudé
2020-09-27 3:18 ` Richard Henderson [this message]
2020-09-27 8:42 ` Philippe Mathieu-Daudé
2020-09-26 14:04 ` [PATCH 3/4] Getting qemu-plugin works under win32 Yonggang Luo
2020-09-26 14:04 ` [PATCH 4/4] cirrus: Enable plugin in cirrus for windows Yonggang Luo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b6e76dcf-187c-4e49-a82c-ed0b637d07b1@linaro.org \
--to=richard.henderson@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=luoyonggang@gmail.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).