xen: use uint64_t instead of target_ulong in cpu_ioreq_move
PATCH 1/1 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 <[email protected]>
--- xen-all.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
xen-all.c +1 -1
@@ -331,7 +331,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++) {
Signature · 1 line
1.7.2.3