#221 format string fixes for x86-64

open
nobody
None
5
2012-09-07
2009-11-07
No

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.

Discussion

  • format fix

     
    Attachments
  • printf %*s width specifiers are always int

     
    Attachments