mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 07:18:30 +00:00
[REACTOS] RtlAssert(): use "%lu" as LineNumber format.
This commit is contained in:
parent
1a89a3e731
commit
97d3b3ce33
3 changed files with 23 additions and 23 deletions
|
@ -488,7 +488,7 @@ RtlAssert(IN PVOID FailedAssertion,
|
|||
{
|
||||
if (Message)
|
||||
{
|
||||
DbgPrint("Assertion \'%s\' failed at %s line %u: %s\n",
|
||||
DbgPrint("Assertion \'%s\' failed at %s line %lu: %s\n",
|
||||
(PCHAR)FailedAssertion,
|
||||
(PCHAR)FileName,
|
||||
LineNumber,
|
||||
|
@ -496,7 +496,7 @@ RtlAssert(IN PVOID FailedAssertion,
|
|||
}
|
||||
else
|
||||
{
|
||||
DbgPrint("Assertion \'%s\' failed at %s line %u\n",
|
||||
DbgPrint("Assertion \'%s\' failed at %s line %lu\n",
|
||||
(PCHAR)FailedAssertion,
|
||||
(PCHAR)FileName,
|
||||
LineNumber);
|
||||
|
|
|
@ -36,7 +36,7 @@ RtlAssert(IN PVOID FailedAssertion,
|
|||
{
|
||||
/* Print the assertion */
|
||||
DbgPrint("\n*** Assertion failed: %s%s\n"
|
||||
"*** Source File: %s, line %ld\n\n",
|
||||
"*** Source File: %s, line %lu\n\n",
|
||||
Message != NULL ? Message : "",
|
||||
(PSTR)FailedAssertion,
|
||||
(PSTR)FileName,
|
||||
|
|
|
@ -131,14 +131,14 @@ DbgPrint(
|
|||
|
||||
VOID
|
||||
NTAPI
|
||||
RtlAssert(PVOID FailedAssertion,
|
||||
PVOID FileName,
|
||||
ULONG LineNumber,
|
||||
PCHAR Message)
|
||||
RtlAssert(IN PVOID FailedAssertion,
|
||||
IN PVOID FileName,
|
||||
IN ULONG LineNumber,
|
||||
IN PCHAR Message OPTIONAL)
|
||||
{
|
||||
if (NULL != Message)
|
||||
if (Message != NULL)
|
||||
{
|
||||
DbgPrint("Assertion \'%s\' failed at %s line %d: %s\n",
|
||||
DbgPrint("Assertion \'%s\' failed at %s line %u: %s\n",
|
||||
(PCHAR)FailedAssertion,
|
||||
(PCHAR)FileName,
|
||||
LineNumber,
|
||||
|
@ -146,7 +146,7 @@ RtlAssert(PVOID FailedAssertion,
|
|||
}
|
||||
else
|
||||
{
|
||||
DbgPrint("Assertion \'%s\' failed at %s line %d\n",
|
||||
DbgPrint("Assertion \'%s\' failed at %s line %u\n",
|
||||
(PCHAR)FailedAssertion,
|
||||
(PCHAR)FileName,
|
||||
LineNumber);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue