mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[DDK]
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:
@@ -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)) ? \
|
||||
|
||||
@@ -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)) ? \
|
||||
|
||||
Reference in New Issue
Block a user