From: Stefano Stabellini Date: Fri, 20 May 2011 16:57:24 +0000 (+0000) Subject: xen: use uint64_t instead of target_ulong in cpu_ioreq_move X-Git-Tag: pull-nvme-20200902~9347^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2b734340407e9b9f70ba84bb596201ef7027a427;p=qemu-nvme.git xen: use uint64_t instead of target_ulong in cpu_ioreq_move cpu_ioreq_move might move 8 bytes at a time so we must make sure that the temporary variable can hold 8 bytes. Signed-off-by: Stefano Stabellini --- diff --git a/xen-all.c b/xen-all.c index 84420d83a9..1bc2c3c8de 100644 --- a/xen-all.c +++ b/xen-all.c @@ -620,7 +620,7 @@ static void cpu_ioreq_move(ioreq_t *req) } } } else { - target_ulong tmp; + uint64_t tmp; if (req->dir == IOREQ_READ) { for (i = 0; i < req->count; i++) {