]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c
OvmfPkg: PlatformDebugLibIoPort: fix AsciiSPrint() format string
[mirror_edk2.git] / OvmfPkg / Library / PlatformDebugLibIoPort / DebugLib.c
index 585f9fb111d70195c488043d8d18a4fe7ec959c1..44850a9dbad06117840a703666930f949fdb847a 100644 (file)
@@ -134,7 +134,8 @@ DebugAssert (
   //\r
   // Generate the ASSERT() message in Ascii format\r
   //\r
-  AsciiSPrint (Buffer, sizeof (Buffer), "ASSERT %a(%d): %a\n", FileName, LineNumber, Description);\r
+  AsciiSPrint (Buffer, sizeof Buffer, "ASSERT %a(%Lu): %a\n", FileName,\r
+    (UINT64)LineNumber, Description);\r
 \r
   //\r
   // Send the print string to the Console Output device\r