aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat64.c
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2020-03-31 09:48:02 +0200
committerNeale Ranns <nranns@cisco.com>2020-04-08 14:54:23 +0000
commit61717cc38f321df3e28464336ac4e570aa47b490 (patch)
tree0499390bb4e65c1ec84161329d3d644bd1ff5596 /src/plugins/nat/nat64.c
parent7d697185437722ffce23a2d0b8838fc390cc6c84 (diff)
nat: use correct data types for memory sizes
Type: fix Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: Id2d181385f109163d4c806eecda166c2087c4b92
Diffstat (limited to 'src/plugins/nat/nat64.c')
-rw-r--r--src/plugins/nat/nat64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/nat64.c b/src/plugins/nat/nat64.c
index 0dbeb5f4171..3aff99ddf85 100644
--- a/src/plugins/nat/nat64.c
+++ b/src/plugins/nat/nat64.c
@@ -256,8 +256,8 @@ static void nat64_free_out_addr_and_port (struct nat64_db_s *db,
u8 protocol);
void
-nat64_set_hash (u32 bib_buckets, u32 bib_memory_size, u32 st_buckets,
- u32 st_memory_size)
+nat64_set_hash (u32 bib_buckets, uword bib_memory_size, u32 st_buckets,
+ uword st_memory_size)
{
nat64_main_t *nm = &nat64_main;
nat64_db_t *db;