mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
win: use zx format specifier instead of a cast
Change-Id: I14fac035ecafaa5d2459b63a070f701389160ad4 Reviewed-on: https://chromium-review.googlesource.com/c/1323772 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
e287a3ab12
commit
651af7583b
@ -92,9 +92,7 @@ size_t ProcessMemoryWin::ReadAvailableMemory(VMAddress address,
|
|||||||
// in the range.
|
// in the range.
|
||||||
if (ranges.empty()) {
|
if (ranges.empty()) {
|
||||||
LOG(ERROR) << base::StringPrintf(
|
LOG(ERROR) << base::StringPrintf(
|
||||||
"range at 0x%llx, size 0x%llx completely inaccessible",
|
"range at 0x%llx, size 0x%zx completely inaccessible", address, size);
|
||||||
address,
|
|
||||||
WinVMSize{size});
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,9 +100,7 @@ size_t ProcessMemoryWin::ReadAvailableMemory(VMAddress address,
|
|||||||
// requested byte.
|
// requested byte.
|
||||||
if (ranges.front().base() != address) {
|
if (ranges.front().base() != address) {
|
||||||
LOG(ERROR) << base::StringPrintf(
|
LOG(ERROR) << base::StringPrintf(
|
||||||
"start of range at 0x%llx, size 0x%llx inaccessible",
|
"start of range at 0x%llx, size 0x%zx inaccessible", address, size);
|
||||||
address,
|
|
||||||
WinVMSize{size});
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user