Skip to content
Snippets Groups Projects
Forked from KED Software Projects / Miscellaneous / KED U-Boot Fork
Source project has a limited visibility.
  • Andrew Klossner's avatar
    dc4b0b38
    Fix printf errors. · dc4b0b38
    Andrew Klossner authored
    
    The compiler will help find mismatches between printf formats and
    arguments if you let it.  This patch adds the necessary attributes to
    declarations in include/common.h, then begins to correct the resulting
    compiler warnings.  Some of these were bugs, e.g., "$d" instead of
    "%d" and incorrect arguments.  Others were just annoying, like
    int-long mismatches on a system where both are 32 bits.  It's worth
    fixing the annoying errors to catch the real ones.
    
    Signed-off-by: default avatarAndrew Klossner <andrew@cesa.opbu.xerox.com>
    dc4b0b38
    History
    Fix printf errors.
    Andrew Klossner authored
    
    The compiler will help find mismatches between printf formats and
    arguments if you let it.  This patch adds the necessary attributes to
    declarations in include/common.h, then begins to correct the resulting
    compiler warnings.  Some of these were bugs, e.g., "$d" instead of
    "%d" and incorrect arguments.  Others were just annoying, like
    int-long mismatches on a system where both are 32 bits.  It's worth
    fixing the annoying errors to catch the real ones.
    
    Signed-off-by: default avatarAndrew Klossner <andrew@cesa.opbu.xerox.com>