Hi,
as the Bitu and Bits types are 64 bits wide on 64 bit architectures, the %d, %u or %x format specifiers aren't appropriate for them. The attached patch adds the 'l' prefix to printf and scanf formats where needed, so the format strings are valid for both 32 and 64 bit architectures.
format fix
printf %*s width specifiers are always int