]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Common/ParseInf.c
Sync tool code to BuildTools project r1783.
[mirror_edk2.git] / BaseTools / Source / C / Common / ParseInf.c
index b39c5bde4022527333b78ce2914b0e1952cb8452..cd10da9b2dd872ab3b79255013c20becf23bd4a6 100644 (file)
@@ -506,7 +506,7 @@ Returns:
     // Verify string is a hex number\r
     //\r
     for (Index = 2; Index < strlen (AsciiString); Index++) {\r
-      if (isxdigit (AsciiString[Index]) == 0) {\r
+      if (isxdigit ((int)AsciiString[Index]) == 0) {\r
         return EFI_ABORTED;\r
       }\r
     }\r
@@ -536,7 +536,7 @@ Returns:
     // Verify string is a number\r
     //\r
     for (Index = 0; Index < strlen (AsciiString); Index++) {\r
-      if (isdigit (AsciiString[Index]) == 0) {\r
+      if (isdigit ((int)AsciiString[Index]) == 0) {\r
         return EFI_ABORTED;\r
       }\r
     }\r