diff options
author | Mattias Andrée <maandree@kth.se> | 2023-12-05 00:03:04 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-12-05 00:03:04 +0100 |
commit | 58dd684c4e86944301959a140dbed9746df35779 (patch) | |
tree | a2702ea4f66b2a58711ee22eb7449c74b1ecf0d1 /libsyscalls_get_datatype_description.c | |
parent | First commit (diff) | |
download | libsyscalls-58dd684c4e86944301959a140dbed9746df35779.tar.gz libsyscalls-58dd684c4e86944301959a140dbed9746df35779.tar.bz2 libsyscalls-58dd684c4e86944301959a140dbed9746df35779.tar.xz |
Second commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsyscalls_get_datatype_description.c')
-rw-r--r-- | libsyscalls_get_datatype_description.c | 2 |
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; |