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 /include | |
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 'include')
-rw-r--r-- | include/datatype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datatype.h b/include/datatype.h index 52a2e943..4e838a38 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -301,7 +301,7 @@ concat_subtype_lookup(uint32_t type, unsigned int n) } extern const struct datatype * -set_datatype_alloc(const struct datatype *orig_dtype, unsigned int byteorder); +set_datatype_alloc(const struct datatype *orig_dtype, enum byteorder byteorder); extern void time_print(uint64_t msec, struct output_ctx *octx); extern struct error_record *time_parse(const struct location *loc, |