]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430UgaDraw.c
ArmVirtPkg: ArmVirtPlatformLib: find the lowest memory node
[mirror_edk2.git] / OptionRomPkg / CirrusLogic5430Dxe / CirrusLogic5430UgaDraw.c
index 59613fb5f0bf3646f3abf1c6cbdec1f9351e1175..0f208815ea382975f85866e44fa3d79a33982da0 100644 (file)
@@ -3,8 +3,8 @@
   CirrusLogic5430.c file which deals with the EFI 1.1 driver model.\r
   This file just does graphics.\r
 \r
-  Copyright (c) 2006, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -136,7 +136,7 @@ CirrusLogic5430UgaDrawBlt (
 \r
   Private = CIRRUS_LOGIC_5430_PRIVATE_DATA_FROM_UGA_DRAW_THIS (This);\r
 \r
-  if ((BltOperation < 0) || (BltOperation >= EfiUgaBltMax)) {\r
+  if ((UINT32)BltOperation >= EfiUgaBltMax) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
 \r