diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-23 07:55:50 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-23 07:55:50 +0000 |
commit | 2bf3421a0c040164470bde41849d106fcc097c32 (patch) | |
tree | 7d62a0e1392162fb239e8f153b6e305ce2b575ee /IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c | |
parent | 7da736765580502e457534b0d778b6df4635f4be (diff) | |
download | edk2-platforms-2bf3421a0c040164470bde41849d106fcc097c32.tar.xz |
add type cast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8159 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c')
-rw-r--r-- | IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
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;
}
|