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:
Joshua Peraza 2018-11-07 10:58:51 -08:00 committed by Commit Bot
parent e287a3ab12
commit 651af7583b

View File

@ -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;
}