Author: rharabien
Date: Sat Dec 17 22:55:05 2011
New Revision: 54675
URL:
http://svn.reactos.org/svn/reactos?rev=54675&view=rev
Log:
[NDK]
- Fix ASSERT macro
Modified:
trunk/reactos/include/ndk/rtlfuncs.h
Modified: trunk/reactos/include/ndk/rtlfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtlfuncs.h?rev…
==============================================================================
--- trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] Sat Dec 17 22:55:05 2011
@@ -208,12 +208,12 @@
#define ASSERT( exp ) \
((void)((!(exp)) ? \
- (RtlAssert( #exp, __FILE__, __LINE__, NULL ),FALSE) : \
+ (RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, NULL ),FALSE) : \
TRUE))
#define ASSERTMSG( msg, exp ) \
((void)((!(exp)) ? \
- (RtlAssert( #exp, __FILE__, __LINE__, msg ),FALSE) : \
+ (RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, (PCHAR)msg ),FALSE) : \
TRUE))
#else