[SDK] Silence a GCC warning on RtlAssert

This commit is contained in:
Mark Jansen
2020-02-08 22:09:14 +01:00
parent 008745d951
commit fc744405fd
+2 -2
View File
@@ -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