summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/C/Common/ParseInf.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-11 03:14:43 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-09-11 03:14:43 +0000
commitfd171542e0aa89ac12a09d79608173f48019b14b (patch)
treeb4e1320ab3bc1cb59355f9fcbc361f84ae0c4f0a /BaseTools/Source/C/Common/ParseInf.c
parentf22911b49e8be58d364f9e21f5af6bd3f0513cf7 (diff)
downloadedk2-fd171542e0aa89ac12a09d79608173f48019b14b.tar.gz
edk2-fd171542e0aa89ac12a09d79608173f48019b14b.tar.bz2
edk2-fd171542e0aa89ac12a09d79608173f48019b14b.zip
Sync basetools' source and binary files with r1707 of the basetools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/C/Common/ParseInf.c')
-rw-r--r--BaseTools/Source/C/Common/ParseInf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/BaseTools/Source/C/Common/ParseInf.c b/BaseTools/Source/C/Common/ParseInf.c
index 8305f14aef..b39c5bde40 100644
--- a/BaseTools/Source/C/Common/ParseInf.c
+++ b/BaseTools/Source/C/Common/ParseInf.c
@@ -379,10 +379,10 @@ Returns:
--*/
{
INT32 Index;
- UINT32 Data1;
- UINT32 Data2;
- UINT32 Data3;
- UINT16 Data4[8];
+ unsigned Data1;
+ unsigned Data2;
+ unsigned Data3;
+ unsigned Data4[8];
if (AsciiGuidBuffer == NULL || GuidBuffer == NULL) {
return EFI_INVALID_PARAMETER;
@@ -416,7 +416,7 @@ Returns:
//
Index = sscanf (
AsciiGuidBuffer,
- "%08x-%04x-%04x-%02hx%02hx-%02hx%02hx%02hx%02hx%02hx%02hx",
+ "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
&Data1,
&Data2,
&Data3,