From 6fd3567c0817cedd901360f22f2d03add2422407 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 19:06:36 +0000 Subject: [PATCH] date 99.04.08.21.23.00; author rmoore1; state Exp; --- source/components/utilities/utdebug.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/components/utilities/utdebug.c b/source/components/utilities/utdebug.c index 40dea46cb..502d29b8d 100644 --- a/source/components/utilities/utdebug.c +++ b/source/components/utilities/utdebug.c @@ -12,7 +12,6 @@ |__________________________________________________________________________ | | excommon.c - Debug and error reporting routines - | |__________________________________________________________________________ */ @@ -747,7 +746,11 @@ DumpBuf (char *Buffer, UINT32 Count, INT32 Flags, INT32 ComponentId) if (i + j >= Count) goto cleanup; - OsdPrintf (NULL, "%02X ", Buffer[i + j]); + + /* Make sure that the char doesn't get sign-extended! */ + + BufChar = Buffer[i + j]; + OsdPrintf (NULL, "%02X ", BufChar); } /*