summaryrefslogtreecommitdiffstats
path: root/src/datatype.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-09-20 16:26:05 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-09-20 18:27:30 +0200
commita72a25d432046dd38571a7fb7301350ff55f4bb4 (patch)
tree32f83afe2012283ea03f792d6879e60710ec0748 /src/datatype.c
parentc4186c5376ee73efff005dbd23dd73a8e06e6ad8 (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.c2
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;