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
This commit is contained in:
niruiyu 2010-10-20 09:38:35 +00:00
parent dfaaa5a5ed
commit b4f9bc4dc2
1 changed files with 2 additions and 2 deletions

View File

@ -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++;