mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 23:01:05 +08:00
Use format macros for int64_t instead of hardcoding the format.
Bug: 1371963 Change-Id: I7fa4557472684cdd2b8e0cc977230941f26f1eaa Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4943901 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org>
This commit is contained in:
parent
7c89d500cd
commit
aef75040fd
@ -16,6 +16,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "base/format_macros.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "util/stdlib/string_number_conversion.h"
|
||||
@ -99,7 +100,8 @@ bool InitialClientData::InitializeFromString(const std::string& str) {
|
||||
}
|
||||
|
||||
std::string InitialClientData::StringRepresentation() const {
|
||||
return base::StringPrintf("0x%x,0x%x,0x%x,0x%x,0x%x,0x%I64x,0x%I64x,0x%I64x",
|
||||
return base::StringPrintf("0x%x,0x%x,0x%x,0x%x,0x%x,0x%" PRIx64 ",0x%" PRIx64
|
||||
",0x%" PRIx64,
|
||||
HandleToInt(request_crash_dump_),
|
||||
HandleToInt(request_non_crash_dump_),
|
||||
HandleToInt(non_crash_dump_completed_),
|
||||
|
Loading…
x
Reference in New Issue
Block a user