Fix error when replace HexStringToBuf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8047 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2009-04-09 08:19:40 +00:00
parent a9e7937ab0
commit 634303c96f
2 changed files with 3 additions and 3 deletions

View File

@@ -442,7 +442,7 @@ GetValueOfNumber (
if ((Index & 1) == 0) {
Buf [Index/2] = DigitUint8;
} else {
Buf [Index/2] = (UINT8) ((Buf [Index/2] << 4) + DigitUint8);
Buf [Index/2] = (UINT8) ((DigitUint8 << 4) + Buf [Index/2]);
}
}