]> git.proxmox.com Git - qemu.git/commitdiff
xen: use uint64_t instead of target_ulong in cpu_ioreq_move
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 20 May 2011 16:57:24 +0000 (16:57 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 9 Sep 2011 13:13:16 +0000 (13:13 +0000)
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 <stefano.stabellini@eu.citrix.com>
xen-all.c

index 84420d83a91ea826a66b15f8b4d845c1639d28ad..1bc2c3c8de30f01516eddf3dbb2be736dddba21e 100644 (file)
--- 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++) {