OvmfPkg: fix conversion specifiers in DEBUG format strings
Cc: Scott Duplichan <scott@notabs.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Reported-by: Scott Duplichan <scott@notabs.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Build-tested-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18095 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -70,7 +70,8 @@ QemuVideoCompleteModeData (
|
||||
Mode->FrameBufferBase = FrameBufDesc->AddrRangeMin;
|
||||
Mode->FrameBufferSize = Info->HorizontalResolution * Info->VerticalResolution;
|
||||
Mode->FrameBufferSize = Mode->FrameBufferSize * ((ModeData->ColorDepth + 7) / 8);
|
||||
DEBUG ((EFI_D_INFO, "FrameBufferBase: 0x%x, FrameBufferSize: 0x%x\n", Mode->FrameBufferBase, Mode->FrameBufferSize));
|
||||
DEBUG ((EFI_D_INFO, "FrameBufferBase: 0x%Lx, FrameBufferSize: 0x%Lx\n",
|
||||
Mode->FrameBufferBase, (UINT64)Mode->FrameBufferSize));
|
||||
|
||||
FreePool (FrameBufDesc);
|
||||
return EFI_SUCCESS;
|
||||
|
Reference in New Issue
Block a user