[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/2] Add C99-style constructor macros for specific-sized integers
    >> Do these new macros really buy anything over just writing LL in the
    >> few places that 64-bit constants are used?
    > It gives you macros that matches the s64/u64 et al definitions are,
    > thus avoiding another class of spurious warnings.

    GCC doesn't warn for implicit narrowing that doesn't change value.

    The printk() example is a read herring IMHO, since variable arguments
    functions are "very speshul" anyway, and require explicit casts in
    many cases.


     \ /
      Last update: 2008-03-03 21:27    [W:0.038 / U:82.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site