Skip to content

Commit

Permalink
Fix string format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
speednoisemovement committed Feb 16, 2024
1 parent a116906 commit b48a2d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/processor/range_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#define PROCESSOR_RANGE_MAP_H__


#include <cstdint>
#include <stdint.h>
#include <map>


Expand Down
3 changes: 2 additions & 1 deletion src/processor/range_map_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <config.h> // Must come first
#endif

#include <inttypes.h>
#include <limits.h>
#include <stdio.h>

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b48a2d4

Please sign in to comment.