diff options
Diffstat (limited to 'DuetPkg/EfiLdr/Debug.c')
-rw-r--r-- | DuetPkg/EfiLdr/Debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/EfiLdr/Debug.c b/DuetPkg/EfiLdr/Debug.c index 2cc8c73a1e..13d9c74c46 100644 --- a/DuetPkg/EfiLdr/Debug.c +++ b/DuetPkg/EfiLdr/Debug.c @@ -65,9 +65,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;
@@ -76,7 +76,7 @@ PrintValue ( VOID
PrintString (
- UINT8 *String
+ CHAR8 *String
)
{
UINT32 Index;
|