aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-06-25 09:52:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-06-25 09:55:49 +0200
commitcb1aa8b0e32068ec4bbbc42d41267420b46a36e7 (patch)
tree932c53ecd4bd45976c38e6665e018f7ae3900e67 /src
parentd3d5c4a40e962b37ebee5e01884748e024b66e7b (diff)
printf: make sure %x are treated unsigned
When using %x, the number must be treated as unsigned as otherwise it would get sign-extended on for example 64bit machines and do wrong output. This problem showed when doing printf("%08x", 0xffeeddcc) on a 64bit host.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions