summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson2013-02-05 01:21:06 +0100
committerAnthony Liguori2013-02-06 15:29:21 +0100
commit91107fdf4443d2171e06840e87277bb7a047343b (patch)
tree389f64ce101a56c0fe6d5600211c1856bc9feb31 /linux-user
parentbios: recompile BIOS (diff)
downloadqemu-91107fdf4443d2171e06840e87277bb7a047343b.tar.gz
qemu-91107fdf4443d2171e06840e87277bb7a047343b.tar.xz
qemu-91107fdf4443d2171e06840e87277bb7a047343b.zip
bswap: Fix width of swap in leul_to_cpu
The misnamed HOST_LONG_BITS is really HOST_POINTER_BITS. Here we're explicitly using an unsigned long, rather than uintptr_t, so it is more correct to select the swap size via ULONG_MAX. Acked-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions