]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GnuGenBootSector/GnuGenBootSector.c
Sync basetools' source and binary files with r1707 of the basetools project.
[mirror_edk2.git] / BaseTools / Source / C / GnuGenBootSector / GnuGenBootSector.c
index 178bec24764be8885739f9827dbaa5c3e9b7a860..6a25bee957c144cec08a974f310ef3d8c3f695fc 100644 (file)
@@ -27,6 +27,9 @@ Abstract:
 #include <string.h>\r
 #include <Common/UefiBaseTypes.h>\r
 \r
+#include "ParseInf.h"\r
+#include "EfiUtilityMsgs.h"\r
+\r
 //\r
 // Utility Name\r
 //\r
@@ -293,10 +296,10 @@ PrintUsage (
      [-h, --help]\n");\r
 }\r
 \r
-INTN\r
+int\r
 main (\r
-  INTN  argc,\r
-  CHAR8 *argv[]\r
+  int  argc,\r
+  char *argv[]\r
   )\r
 {\r
   CHAR8          *AppName;\r
@@ -393,7 +396,7 @@ main (
         return 1;\r
       }\r
       if (LogLevel > 9) {\r
-        Error (NULL, 0, 1003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", LogLevel);\r
+        Error (NULL, 0, 1003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", (int) LogLevel);\r
         return 1;\r
       }\r
       SetPrintLevel (LogLevel);\r