Ignore const qualifier when comparing types
This commit is contained in:
parent
d5ddc52ae1
commit
3d4b8922fc
|
@ -39,13 +39,13 @@
|
|||
} (void)0
|
||||
|
||||
#define CHECK_TYPE_PAIR(var_a, var_b) { \
|
||||
typeof(var_a) *__tmp; \
|
||||
const typeof(var_a) *__tmp; \
|
||||
__tmp = (typeof(var_b) *)NULL; \
|
||||
(void)__tmp; \
|
||||
} (void)0
|
||||
|
||||
#define CHECK_TYPE_PAIR_INLINE(var_a, var_b) ((void)({ \
|
||||
typeof(var_a) *__tmp; \
|
||||
const typeof(var_a) *__tmp; \
|
||||
__tmp = (typeof(var_b) *)NULL; \
|
||||
(void)__tmp; \
|
||||
}))
|
||||
|
|
Loading…
Reference in New Issue