minor edit to type checking macro to avoid clangs static checker tagging the var as possibly NULL.

This commit is contained in:
2012-10-07 23:58:57 +00:00
parent 7b37e78c91
commit 2e81400b77

View File

@@ -130,7 +130,7 @@
/* can be used in simple macros */
#define CHECK_TYPE_INLINE(val, type) \
((void)(((type *)0) == (val)))
((void)(((type *)0) != (val)))
#ifndef SWAP
# define SWAP(type, a, b) { \