From d8322663ed76bb350abc5c6a9981fcb4e84eccc1 Mon Sep 17 00:00:00 2001 From: Rafal Harabien Date: Sat, 17 Dec 2011 23:11:54 +0000 Subject: [PATCH] - Try to fix build svn path=/trunk/; revision=54677 --- reactos/include/reactos/debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/include/reactos/debug.h b/reactos/include/reactos/debug.h index 11626d296f4..3c741b36d50 100644 --- a/reactos/include/reactos/debug.h +++ b/reactos/include/reactos/debug.h @@ -55,7 +55,7 @@ RtlAssert( #ifndef assert #ifndef NASSERT -#define assert(x) if (!(x)) {RtlAssert("#x",__FILE__,__LINE__, ""); } +#define assert(x) if (!(x)) {RtlAssert((PVOID)#x,(PVOID)__FILE__,__LINE__, ""); } #else #define assert(x) #endif @@ -63,7 +63,7 @@ RtlAssert( #ifndef ASSERT #ifndef NASSERT -#define ASSERT(x) if (!(x)) {RtlAssert("#x",__FILE__,__LINE__, ""); } +#define ASSERT(x) if (!(x)) {RtlAssert((PVOID)#x,(PVOID)__FILE__,__LINE__, ""); } #else #define ASSERT(x) #endif @@ -71,7 +71,7 @@ RtlAssert( #ifndef ASSERTMSG #ifndef NASSERT -#define ASSERTMSG(x,m) if (!(x)) {RtlAssert("#x",__FILE__,__LINE__, m); } +#define ASSERTMSG(x,m) if (!(x)) {RtlAssert((PVOID)#x,__FILE__,__LINE__, m); } #else #define ASSERTMSG(x) #endif