From e188a609341e9cdb5e6de6bf80b870e42b8a4ddc Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 26 Nov 2008 17:59:34 +0000 Subject: 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 --- DuetPkg/DxeIpl/Debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DuetPkg/DxeIpl/Debug.c') 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; -- cgit v1.2.3