From 2bf3421a0c040164470bde41849d106fcc097c32 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 23 Apr 2009 07:55:50 +0000 Subject: [PATCH] add type cast. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8159 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c index ef0198df5c..bc8de582f6 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c @@ -645,7 +645,7 @@ ConvertBmpToGopBlt ( // // GopBlt has been allocated by caller. // - if (*GopBltSize < BltBufferSize) { + if (*GopBltSize < (UINTN) BltBufferSize) { *GopBltSize = (UINTN) BltBufferSize; return EFI_BUFFER_TOO_SMALL; }