fundamental: assume that intmax_t is the biggest integer
Allowing intmax_t to be narrower than some other type in the assert
is rather strange. By definition, it is the widest type.
Follow-up for c0239e5f11.
This commit is contained in:
@@ -173,7 +173,7 @@
|
||||
#else
|
||||
# define ABS(a) __builtin_imaxabs(a)
|
||||
#endif
|
||||
assert_cc(sizeof(intmax_t) <= sizeof(long long));
|
||||
assert_cc(sizeof(long long) == sizeof(intmax_t));
|
||||
|
||||
#define IS_UNSIGNED_INTEGER_TYPE(type) \
|
||||
(__builtin_types_compatible_p(typeof(type), unsigned char) || \
|
||||
|
||||
Reference in New Issue
Block a user