aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface_format.c')
-rw-r--r--src/vnet/interface_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/interface_format.c b/src/vnet/interface_format.c
index 036ca53174c..86a3d594ac7 100644
--- a/src/vnet/interface_format.c
+++ b/src/vnet/interface_format.c
@@ -745,7 +745,7 @@ unformat_vnet_buffer_offload_flags (unformat_input_t *input, va_list *args)
{
u32 *flagp = va_arg (*args, u32 *);
int rv = 0;
- u32 oflags = 0;
+ vnet_buffer_oflags_t oflags = 0;
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)
{
@@ -762,7 +762,7 @@ unformat_vnet_buffer_offload_flags (unformat_input_t *input, va_list *args)
else break;
}
if (rv)
- *flagp = oflags;
+ *flagp = (u32) oflags;
return rv;
}