]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c
Refine file header format to follow coding style.
[mirror_edk2.git] / OptionRomPkg / Library / FrameBufferBltLib / FrameBufferBltLib.c
index cfd5212d482478eed64e68c986d11352f83fd0ed..7138ebf7b7407437b397208979c63476bf77cbe3 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   FrameBufferBltLib - Library to perform blt operations on a frame buffer.\r
 \r
-  Copyright (c) 2007 - 2011, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2007 - 2011, 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
@@ -66,7 +66,7 @@ ConfigurePixelBitMaskFormat (
   MergedMasks = (UINT32) (MergedMasks | Masks[3]);\r
 \r
   ASSERT (MergedMasks != 0);\r
-  mBltLibBytesPerPixel = (HighBitSet32 (MergedMasks) + 7) / 8;\r
+  mBltLibBytesPerPixel = (UINTN) ((HighBitSet32 (MergedMasks) + 7) / 8);\r
 \r
   DEBUG ((EFI_D_INFO, "Bytes per pixel: %d\n", mBltLibBytesPerPixel));\r
 \r