From 9397b262e9a4d9d0eae15cdd81f0c40226c67cdd Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Thu, 14 Jul 2016 20:53:43 -0400 Subject: [PATCH] tvbtest.c - Fix printf style argument types Change-Id: I05ecbd06262e0dd68851dd6728817ad721a91962 Reviewed-on: https://code.wireshark.org/review/16449 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/tvbtest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/epan/tvbtest.c b/epan/tvbtest.c index 53a719dab1..48f6e024ec 100644 --- a/epan/tvbtest.c +++ b/epan/tvbtest.c @@ -1,4 +1,5 @@ -/* Standalone program to test functionality of tvbuffs. +/* tvbtest.c + * Standalone program to test functionality of tvbuffs. * * tvbtest : tvbtest.o tvbuff.o except.o * @@ -256,7 +257,7 @@ test(tvbuff_t *tvb, const gchar* name, for (i = 0; i < length - incr; i += incr) { ptr = (guint8*)tvb_memdup(NULL, tvb, i, incr); if (memcmp(ptr, &expected_data[i], incr) != 0) { - printf("11: Failed TVB=%s Offset=%d Length=%d " + printf("11: Failed TVB=%s Offset=%u Length=%u " "Bad memdup\n", name, i, incr); failed = TRUE;