diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-01 21:50:34 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-01-24 11:08:50 +0100 |
commit | 653df36bbe58e20258610bc74c5940c456b31084 (patch) | |
tree | a936f70f12eb0b6b5c1c90a6dedea124b0c98509 /qemu-img.c | |
parent | 0bfe006c5380c5f8a485a55ded3329fbbc224396 (diff) |
qcow2: fix unaligned access
cpu_to_be64w() is called with an obviously non-aligned pointer. Use
cpu_to_be64wu() instead. It fixes unaligned accesses errors on IA64
hosts.
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions