« Previous | Next » 

Revision 91107fdf

ID91107fdf4443d2171e06840e87277bb7a047343b

Added by Richard Henderson about 11 years ago

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 <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences