From 2b734340407e9b9f70ba84bb596201ef7027a427 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Fri, 20 May 2011 16:57:24 +0000 Subject: 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 --- xen-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen-all.c') 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++) { -- cgit v1.2.3