commit | 9a85d3944715c709d740edb987b84bd657b9d7ef | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Tue Oct 05 14:28:50 2010 +0100 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Oct 09 08:16:45 2010 +0000 |
tree | 16ae216eeb23b6294efc2a36268d37c2cf8286fa | |
parent | 3e18c6bf7740e4a75503b803ec7d5dc29a531e4f [diff] |
trace: Use portable format strings It is not portable to use "%ld" for int64_t because int64_t may have type long on 64-bit platforms and long long on 32-bit platforms. Use the standard library PRId64 macros to keep format strings portable. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>