]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c
check the usage of %d,%x,%ld,%lx and so on in debug print statement.
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ipf / PlDebugSupport.c
index 1e1c89d5de9a62c150302e550f8e904da490e85d..e23a6759ebc59e18a043eb2bc79aee980db4b849 100644 (file)
@@ -107,10 +107,10 @@ CommonHandler (
       DEBUG ((EFI_D_INFO, "ERROR: Re-entered debugger!\n"\r
                                     "       ExceptionType == %X\n"\r
                                     "       Context       == %X\n"\r
-                                    "       Context.SystemContextIpf->CrIip  == %X\n"\r
-                                    "       Context.SystemContextIpf->CrIpsr == %X\n"\r
+                                    "       Context.SystemContextIpf->CrIip  == %LX\n"\r
+                                    "       Context.SystemContextIpf->CrIpsr == %LX\n"\r
                                     "       mInHandler     == %X\n",\r
-                                    ExceptionType, \r
+                                    (INT32)ExceptionType, \r
                                     Context, \r
                                     Context.SystemContextIpf->CrIip,\r
                                     Context.SystemContextIpf->CrIpsr,\r