From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmQYv-0007gg-2s for qemu-devel@nongnu.org; Thu, 28 Jul 2011 09:23:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmQYt-0004Vm-Un for qemu-devel@nongnu.org; Thu, 28 Jul 2011 09:23:41 -0400 Received: from smtp.citrix.com ([66.165.176.89]:50539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmQYt-0004Vg-Rl for qemu-devel@nongnu.org; Thu, 28 Jul 2011 09:23:39 -0400 From: Date: Thu, 28 Jul 2011 14:29:35 +0100 Message-ID: <1311859775-19960-3-git-send-email-stefano.stabellini@eu.citrix.com> In-Reply-To: <1311859775-19960-1-git-send-email-stefano.stabellini@eu.citrix.com> References: <1311859775-19960-1-git-send-email-stefano.stabellini@eu.citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH RESEND 3/3] xen: use uint64_t instead of target_ulong in cpu_ioreq_move List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: xen-devel@lists.xensource.com, agraf@suse.de, Stefano Stabellini From: Stefano Stabellini 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 --- xen-all.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen-all.c b/xen-all.c index 9eaeac1..3611e19 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++) { -- 1.7.2.3