Cast the string parameter of ASSERTMSG to PCHAR to allow passing string constants which are PCCHAR without a warning.

svn path=/trunk/; revision=47443
This commit is contained in:
Timo Kreuzer 2010-05-30 14:02:47 +00:00
parent 4af7c48119
commit 76dc595732
2 changed files with 2 additions and 2 deletions

View file

@ -9459,7 +9459,7 @@ RtlCheckBit(
#define ASSERTMSG(msg, exp) \
(VOID)((!(exp)) ? \
RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, msg ), FALSE : TRUE)
RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, (PCHAR)msg ), FALSE : TRUE)
#define RTL_SOFT_ASSERT(exp) \
(VOID)((!(exp)) ? \

View file

@ -1858,7 +1858,7 @@ RtlCheckBit(
#define ASSERTMSG(msg, exp) \
(VOID)((!(exp)) ? \
RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, msg ), FALSE : TRUE)
RtlAssert( (PVOID)#exp, (PVOID)__FILE__, __LINE__, (PCHAR)msg ), FALSE : TRUE)
#define RTL_SOFT_ASSERT(exp) \
(VOID)((!(exp)) ? \