From fc744405fd8ab50eeb6955a8bc6a12bb7518ba6c Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sun, 12 Jan 2020 00:13:24 +0100 Subject: [PATCH] [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