diff options
author | Thomas Haller <thaller@redhat.com> | 2023-09-20 16:26:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-09-20 18:27:30 +0200 |
commit | a72a25d432046dd38571a7fb7301350ff55f4bb4 (patch) | |
tree | 32f83afe2012283ea03f792d6879e60710ec0748 /src/datatype.c | |
parent | c4186c5376ee73efff005dbd23dd73a8e06e6ad8 (diff) |
datatype: use "enum byteorder" instead of int in set_datatype_alloc()
Use the enum types as we have them.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/datatype.c')
-rw-r--r-- | src/datatype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datatype.c b/src/datatype.c index 14d5a0e6..8d65ab8b 100644 --- a/src/datatype.c +++ b/src/datatype.c @@ -1310,7 +1310,7 @@ const struct datatype *concat_type_alloc(uint32_t type) } const struct datatype *set_datatype_alloc(const struct datatype *orig_dtype, - unsigned int byteorder) + enum byteorder byteorder) { struct datatype *dtype; |