[ros-diffs] [rharabien] 54677: - Try to fix build
rharabien at svn.reactos.org
rharabien at svn.reactos.org
Sat Dec 17 23:11:55 UTC 2011
Author: rharabien
Date: Sat Dec 17 23:11:54 2011
New Revision: 54677
URL: http://svn.reactos.org/svn/reactos?rev=54677&view=rev
Log:
- Try to fix build
Modified:
trunk/reactos/include/reactos/debug.h
Modified: trunk/reactos/include/reactos/debug.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/debug.h?rev=54677&r1=54676&r2=54677&view=diff
==============================================================================
--- trunk/reactos/include/reactos/debug.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/debug.h [iso-8859-1] Sat Dec 17 23:11:54 2011
@@ -55,7 +55,7 @@
#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 @@
#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 @@
#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
More information about the Ros-diffs
mailing list