From 2c86c995b4339751e6642e622e330eef86069a28 Mon Sep 17 00:00:00 2001 From: Justin Cohen Date: Fri, 20 Jan 2023 16:19:37 -0500 Subject: [PATCH] Use portable PRIu64 for printing uint64_t address_mask. Change-Id: I12b3970adc06cb48e9112726b423ab61271d0044 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4184479 Reviewed-by: Mark Mentovai --- src/processor/minidump.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc index 51975fd7..bfac6cb1 100644 --- a/src/processor/minidump.cc +++ b/src/processor/minidump.cc @@ -36,6 +36,7 @@ #include #include +#include #include #include #include @@ -5458,7 +5459,7 @@ void MinidumpCrashpadInfo::Print() { printf(" module_list[%d].simple_annotations[\"%s\"] = %s\n", module_index, annot.first.c_str(), annot.second.c_str()); } - printf(" address_mask = %llu\n", crashpad_info_.address_mask); + printf(" address_mask = %" PRIu64 "\n", crashpad_info_.address_mask); } printf("\n");