diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-06-25 09:52:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-06-25 09:55:49 +0200 |
commit | cb1aa8b0e32068ec4bbbc42d41267420b46a36e7 (patch) | |
tree | 932c53ecd4bd45976c38e6665e018f7ae3900e67 /tests/data/test277 | |
parent | d3d5c4a40e962b37ebee5e01884748e024b66e7b (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 'tests/data/test277')
0 files changed, 0 insertions, 0 deletions