mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +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:
parent
4af7c48119
commit
76dc595732
2 changed files with 2 additions and 2 deletions
|
@ -9459,7 +9459,7 @@ RtlCheckBit(
|
||||||
|
|
||||||
#define ASSERTMSG(msg, exp) \
|
#define ASSERTMSG(msg, exp) \
|
||||||
(VOID)((!(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) \
|
#define RTL_SOFT_ASSERT(exp) \
|
||||||
(VOID)((!(exp)) ? \
|
(VOID)((!(exp)) ? \
|
||||||
|
|
|
@ -1858,7 +1858,7 @@ RtlCheckBit(
|
||||||
|
|
||||||
#define ASSERTMSG(msg, exp) \
|
#define ASSERTMSG(msg, exp) \
|
||||||
(VOID)((!(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) \
|
#define RTL_SOFT_ASSERT(exp) \
|
||||||
(VOID)((!(exp)) ? \
|
(VOID)((!(exp)) ? \
|
||||||
|
|
Loading…
Reference in a new issue