summaryrefslogtreecommitdiff
path: root/DuetPkg/DxeIpl/Debug.c
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-26 17:59:34 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-26 17:59:34 +0000
commite188a609341e9cdb5e6de6bf80b870e42b8a4ddc (patch)
treea137e1e7978a523a3dd20c6115e2ccf6e6457261 /DuetPkg/DxeIpl/Debug.c
parent35d297c7acce7d72863c22ddae95eb39827f3cd3 (diff)
downloadedk2-platforms-e188a609341e9cdb5e6de6bf80b870e42b8a4ddc.tar.xz
Fix bundle of issue for ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6740 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DxeIpl/Debug.c')
-rw-r--r--DuetPkg/DxeIpl/Debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/DxeIpl/Debug.c b/DuetPkg/DxeIpl/Debug.c
index 45d3a41411..cc93174abc 100644
--- a/DuetPkg/DxeIpl/Debug.c
+++ b/DuetPkg/DxeIpl/Debug.c
@@ -57,9 +57,9 @@ PrintValue (
UINT8 Char;
for (Index = 0; Index < 8; Index++) {
- Char = (UINT8)((Value >> ((7 - Index) * 4)) & 0x0f) + '0';
+ Char = (UINT8)(((Value >> ((7 - Index) * 4)) & 0x0f) + '0');
if (Char > '9') {
- Char = Char - '0' - 10 + 'A';
+ Char = (UINT8) (Char - '0' - 10 + 'A');
}
*mCursor = Char;
mCursor += 2;