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:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user