From 6c2f76ed70120e7ecd1b01f78f8996a5c75550b8 Mon Sep 17 00:00:00 2001 From: li-elvin Date: Mon, 26 Nov 2012 00:34:34 +0000 Subject: Fix IA32 build failure to add UINTN type cast. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13960 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IntelFrameworkModulePkg/Csm') diff --git a/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c b/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c index 39cf584..21b3e87 100644 --- a/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c +++ b/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c @@ -1672,7 +1672,7 @@ BiosVideoCheckForVbe ( // // Make sure the FrameBufferSize does not exceed the max available frame buffer size reported by VEB. // - ASSERT (CurrentModeData->FrameBufferSize <= BiosVideoPrivate->VbeInformationBlock->TotalMemory * 64 * 1024); + ASSERT (CurrentModeData->FrameBufferSize <= (UINTN)(BiosVideoPrivate->VbeInformationBlock->TotalMemory * 64 * 1024)); BiosVideoPrivate->ModeData = ModeBuffer; } -- cgit v1.1