diff options
Diffstat (limited to 'Core/EM/CSM/thunk/CsmVideo/UefiBiosVideo.c')
-rw-r--r-- | Core/EM/CSM/thunk/CsmVideo/UefiBiosVideo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Core/EM/CSM/thunk/CsmVideo/UefiBiosVideo.c b/Core/EM/CSM/thunk/CsmVideo/UefiBiosVideo.c index ddbe46c..eafc43e 100644 --- a/Core/EM/CSM/thunk/CsmVideo/UefiBiosVideo.c +++ b/Core/EM/CSM/thunk/CsmVideo/UefiBiosVideo.c @@ -1788,7 +1788,7 @@ BiosVideoCheckForVbe ( // Status = gBS->AllocatePool ( EfiBootServicesData, - sizeof ((VESA_BIOS_EXTENSIONS_EDID_BLOCK_SIZE * 2)), + VESA_BIOS_EXTENSIONS_EDID_BLOCK_SIZE * 2, &EdidOverrideDataBlock ); @@ -2030,7 +2030,7 @@ BiosVideoCheckForVbe ( // When EDID exist and if the timing matches with VESA add it. // And also add three possible resolutions, i.e. 1024x768, 800x600, 640x480 // - TRACE((TRACE_BIOS_VIDEO, "neither EDID nor MODE match is found.\n", i)); + TRACE((TRACE_BIOS_VIDEO, "neither EDID nor MODE match is found.\n")); continue; } @@ -2738,7 +2738,7 @@ Routine Description: // // Frame BufferSize remain unchanged // - This->Mode->FrameBufferBase = (EFI_PHYSICAL_ADDRESS) ModeData->LinearFrameBuffer; + This->Mode->FrameBufferBase = (EFI_PHYSICAL_ADDRESS)(UINTN)ModeData->LinearFrameBuffer; This->Mode->FrameBufferSize = ModeData->FrameBufferSize; BiosVideoPrivate->HardwareNeedsStarting = FALSE; |