#include <string.h>\r
#include <Common/UefiBaseTypes.h>\r
\r
+#include "ParseInf.h"\r
+#include "EfiUtilityMsgs.h"\r
+\r
//\r
// Utility Name\r
//\r
} else {\r
fprintf (\r
stdout,\r
- "%c: - DiskNum: %d, Type: %s\n", \r
+ "%c: - DiskNum: %u, Type: %s\n", \r
DriveInfo.VolumeLetter,\r
- DriveInfo.DiskNumber, \r
+ (unsigned) DriveInfo.DiskNumber, \r
DriveInfo.DriveType->Description\r
);\r
}\r
BYTE DiskPartition[0x200] = {0};\r
BYTE DiskPartitionBackup[0x200] = {0};\r
DWORD BytesReturn;\r
- DWORD DbrOffset;\r
INT DrvNumOffset;\r
HANDLE InputHandle;\r
HANDLE OutputHandle;\r
- BOOL WriteToDisk;\r
ERROR_STATUS Status;\r
DWORD InputDbrOffset;\r
DWORD OutputDbrOffset;\r
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