https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fc744405fd8ab50eeb6955...
commit fc744405fd8ab50eeb6955a8bc6a12bb7518ba6c Author: Mark Jansen mark.jansen@reactos.org AuthorDate: Sun Jan 12 00:13:24 2020 +0100 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Sat Feb 8 22:09:14 2020 +0100
[SDK] Silence a GCC warning on RtlAssert --- sdk/include/reactos/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/include/reactos/debug.h b/sdk/include/reactos/debug.h index ab332fda181..81357acadd6 100644 --- a/sdk/include/reactos/debug.h +++ b/sdk/include/reactos/debug.h @@ -66,7 +66,7 @@ RtlAssert(
#ifndef assert #if DBG && !defined(NASSERT) -#define assert(x) if (!(x)) { RtlAssert((PVOID)#x, (PVOID)__RELFILE__, __LINE__, ""); } +#define assert(x) if (!(x)) { RtlAssert((PVOID)#x, (PVOID)__RELFILE__, __LINE__, (PCHAR)""); } #else #define assert(x) ((VOID) 0) #endif @@ -74,7 +74,7 @@ RtlAssert(
#ifndef ASSERT #if DBG && !defined(NASSERT) -#define ASSERT(x) if (!(x)) { RtlAssert((PVOID)#x, (PVOID)__RELFILE__, __LINE__, ""); } +#define ASSERT(x) if (!(x)) { RtlAssert((PVOID)#x, (PVOID)__RELFILE__, __LINE__, (PCHAR)""); } #else #define ASSERT(x) ((VOID) 0) #endif