DescriptionDefine print format macros for NSInteger & NSUInteger
The size of NSInteger and NSUInteger varies between 32-bit and 64-bit
architectures, however does not provides macro to safely format them
and instead recommend casting the value to the larger version that is
used on 64-bit architecture.
Using a cast could cause some formatting to be missed (if the type of
a variable changes), so instead we define our own macros to format those
types safely.
BUG=349458
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256019
Patch Set 1 #Patch Set 2 : Fix 64-bit unit tests #
Messages
Total messages: 7 (0 generated)
|