mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:16:13 +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.
|
||||
if (ranges.empty()) {
|
||||
LOG(ERROR) << base::StringPrintf(
|
||||
"range at 0x%llx, size 0x%llx completely inaccessible",
|
||||
address,
|
||||
WinVMSize{size});
|
||||
"range at 0x%llx, size 0x%zx completely inaccessible", address, size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -102,9 +100,7 @@ size_t ProcessMemoryWin::ReadAvailableMemory(VMAddress address,
|
||||
// requested byte.
|
||||
if (ranges.front().base() != address) {
|
||||
LOG(ERROR) << base::StringPrintf(
|
||||
"start of range at 0x%llx, size 0x%llx inaccessible",
|
||||
address,
|
||||
WinVMSize{size});
|
||||
"start of range at 0x%llx, size 0x%zx inaccessible", address, size);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user