mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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 <stefano.stabellini@eu.citrix.com>
This commit is contained in:
parent
6d6467305a
commit
2b73434040
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue