summaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/dma/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/dma/cli.c b/src/vlib/dma/cli.c
index 0ca4a9b6778..1db59c81a2f 100644
--- a/src/vlib/dma/cli.c
+++ b/src/vlib/dma/cli.c
@@ -109,7 +109,7 @@ test_dma_command_fn (vlib_main_t *vm, unformat_input_t *input,
u32 port_allocator_seed;
- fill_random_data (from, cfg.max_transfers * rsz);
+ fill_random_data (from, (uword) cfg.max_transfers * rsz);
b = vlib_dma_batch_new (vm, config_index);
vlib_dma_batch_set_cookie (vm, b, 0x12345678);