summaryrefslogtreecommitdiffstats
path: root/libsyscalls_get_datatype_description.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsyscalls_get_datatype_description.c')
-rw-r--r--libsyscalls_get_datatype_description.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsyscalls_get_datatype_description.c b/libsyscalls_get_datatype_description.c
index 1a4cb59..d790531 100644
--- a/libsyscalls_get_datatype_description.c
+++ b/libsyscalls_get_datatype_description.c
@@ -390,7 +390,7 @@ not_os_dependent:
unsigned char bytebits;
for (i = 0; larger_type.byteorder[i]; i++)
- if (!~larger_type.byteorder[i])
+ if (LIBSYSCALLS_IS_BYTEORDER_END(larger_type.byteorder[i]))
abort();
bytebits = larger_type.byteorder[i];
bytemask = (1ULL << bytebits) - 1ULL;