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: v1.0-rc0~322^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b734340407e9b9f70ba84bb596201ef7027a427;p=thirdparty%2Fqemu.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 84420d83a91..1bc2c3c8de3 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++) {