X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=OvmfPkg%2FLibrary%2FPlatformDebugLibIoPort%2FDebugLib.c;h=44850a9dbad06117840a703666930f949fdb847a;hb=3d8ac52a5d8df67555dc1bdba42d09c682cd71a9;hp=585f9fb111d70195c488043d8d18a4fe7ec959c1;hpb=8f227c2fd97c8160c6e3f99c532d778942efaf62;p=mirror_edk2.git diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c index 585f9fb111..44850a9dba 100644 --- a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c +++ b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c @@ -134,7 +134,8 @@ DebugAssert ( // // Generate the ASSERT() message in Ascii format // - AsciiSPrint (Buffer, sizeof (Buffer), "ASSERT %a(%d): %a\n", FileName, LineNumber, Description); + AsciiSPrint (Buffer, sizeof Buffer, "ASSERT %a(%Lu): %a\n", FileName, + (UINT64)LineNumber, Description); // // Send the print string to the Console Output device