Use the PRIu64 macro for printing a uint64_t.
authorKaelyn Uhrain <rikka@google.com>
Mon, 6 Jan 2014 23:17:27 +0000 (23:17 +0000)
committerKaelyn Uhrain <rikka@google.com>
Mon, 6 Jan 2014 23:17:27 +0000 (23:17 +0000)
commit617499fe6c57a8a9c804d8dccd9d32d80c04152a
tree0624c6ddb32a053bf71c7d6b58552812412d8b6d
parent5a7b4ca21e364193591bacd04cce59afb086d79e
Use the PRIu64 macro for printing a uint64_t.

Otherwise on (some) 64-bit systems, -Wformat will trigger a warning
because uint64_t is an 'unsigned long' not an 'unsigned long long'.
Consequently, PGOProfiling.c would fail to build if -Werror and
-Wformat are both enabled.

llvm-svn: 198644
compiler-rt/lib/profile/PGOProfiling.c