Ignore const qualifier when comparing types

This commit is contained in:
Campbell Barton 2016-01-19 07:50:07 +11:00
parent d5ddc52ae1
commit 3d4b8922fc
1 changed files with 2 additions and 2 deletions

View File

@ -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; \
}))