Issue #263 - Fix compiler warning

This commit is contained in:
Justin Ethier 2018-06-20 18:05:29 -04:00
parent bab0f708dd
commit c4a4f45527

View file

@ -525,7 +525,7 @@ typedef uint32_t char_type;
/**
* Is the given object an object (non-immediate) type?
*/
#define is_object_type(x) (x && !is_value_type(x))
#define is_object_type(x) ((x != NULL) && !is_value_type(x))
/**@}*/