diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-09 08:19:40 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-09 08:19:40 +0000 |
commit | 634303c96f2164d26ee763f95e454baed2008771 (patch) | |
tree | 038098d74ee19e2fefe8766af8a64dbedabf8293 /MdeModulePkg/Universal/HiiDatabaseDxe | |
parent | a9e7937ab0a43f8e0e4ee94f16fd047e6aefd3d5 (diff) | |
download | edk2-platforms-634303c96f2164d26ee763f95e454baed2008771.tar.xz |
Fix error when replace HexStringToBuf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8047 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c index 4b8a70629d..eaf230d1d4 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c @@ -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]);
}
}
|