[SDK] Silence a GCC warning on RtlAssert

This commit is contained in:
Mark Jansen 2020-01-12 00:13:24 +01:00
parent 008745d951
commit fc744405fd
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

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