diff options
author | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-20 09:38:35 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-20 09:38:35 +0000 |
commit | b4f9bc4dc2acb5b417027014811b7c7acaee30cd (patch) | |
tree | 619ea48b9ef4d3285691c8c892456ada1a54912c | |
parent | dfaaa5a5eda92aafec7e4d14894c41541d4788fc (diff) | |
download | edk2-platforms-b4f9bc4dc2acb5b417027014811b7c7acaee30cd.tar.xz |
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
-rw-r--r-- | DuetPkg/EfiLdr/Debug.c | 4 |
1 files 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.<BR>
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
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++;
|