Fix string format specifier
Split out from https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5300127/1..4/src/processor/range_map_unittest.cc#b507 Bug: None Change-Id: Iedc8508b6c123a54fdd1de2e2719dcd70adb03a6 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5300128 Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
parent
a1169061a8
commit
b48a2d4a8e
2 changed files with 3 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
|||
#define PROCESSOR_RANGE_MAP_H__
|
||||
|
||||
|
||||
#include <cstdint>
|
||||
#include <stdint.h>
|
||||
#include <map>
|
||||
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <config.h> // Must come first
|
||||
#endif
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -504,7 +505,7 @@ static bool RunTests() {
|
|||
// The RangeMap's own count of objects should also match.
|
||||
if (range_map->GetCount() != stored_count) {
|
||||
fprintf(stderr, "FAILED: stored object count doesn't match GetCount, "
|
||||
"expected %d, observed %ld\n",
|
||||
"expected %d, observed %" PRId64 "\n",
|
||||
stored_count, range_map->GetCount());
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue