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 <mark@chromium.org>
This commit is contained in:
Justin Cohen 2023-01-20 16:19:37 -05:00 committed by Justin Cohen
parent fc1a202855
commit 2c86c995b4

View file

@ -36,6 +36,7 @@
#include <assert.h> #include <assert.h>
#include <fcntl.h> #include <fcntl.h>
#include <inttypes.h>
#include <stddef.h> #include <stddef.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
@ -5458,7 +5459,7 @@ void MinidumpCrashpadInfo::Print() {
printf(" module_list[%d].simple_annotations[\"%s\"] = %s\n", printf(" module_list[%d].simple_annotations[\"%s\"] = %s\n",
module_index, annot.first.c_str(), annot.second.c_str()); 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"); printf("\n");