Add int cast to fit '.*' printf expectations 59/14359/4
authorPierre Pfister <ppfister@cisco.com>
Mon, 20 Aug 2018 12:21:07 +0000 (14:21 +0200)
committerDave Barach <openvpp@barachs.net>
Sat, 25 Aug 2018 00:40:10 +0000 (00:40 +0000)
commitffb3813dd352a8b12fddfa2730dde390f1b92104
tree38fde2ed2709e5f37a0add1ea2cc216d1e85f4ac
parentc9fbd66cdb20c53c6e9cf68ba5ad984be609102f
Add int cast to fit '.*' printf expectations

Sometimes, compiler would throw an error:
  error: field precision specifier ‘.*’ expects argument of type
  ‘int’, but argument 5 has type ‘u64 {aka long unsigned int}’

This change adds the requested cast.

Change-Id: I43edeac0ee565a1fcee38b9d2942e49c8dd63116
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
src/vlib/log.c