From b4f9bc4dc2acb5b417027014811b7c7acaee30cd Mon Sep 17 00:00:00 2001 From: niruiyu Date: Wed, 20 Oct 2010 09:38:35 +0000 Subject: Add static type cast to fix ICC build failure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10963 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/EfiLdr/Debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DuetPkg/EfiLdr/Debug.c b/DuetPkg/EfiLdr/Debug.c index d0049218dc..a4a067ca6e 100644 --- a/DuetPkg/EfiLdr/Debug.c +++ b/DuetPkg/EfiLdr/Debug.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -62,7 +62,7 @@ PrintU32Base10 ( B10Div = 1000000000; for (Index = 0, StringPos = 0; Index < 10; Index++) { - Char = ((Value / B10Div) % 10) + '0'; + Char = (UINT8) (((Value / B10Div) % 10) + '0'); if ((StringPos > 0) || (Char != '0')) { String[StringPos] = Char; StringPos++; -- cgit v1.2.3