aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbtest.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-07-14 20:53:43 -0400
committerMichael Mann <mmann78@netscape.net>2016-07-15 01:49:33 +0000
commit9397b262e9a4d9d0eae15cdd81f0c40226c67cdd (patch)
treeeba0885595339decf9333868377ef874ecfcfa70 /epan/tvbtest.c
parentf2a7594ac04adc4c08c26136e779c40ee0f1a7c1 (diff)
tvbtest.c - Fix printf style argument types
Change-Id: I05ecbd06262e0dd68851dd6728817ad721a91962 Reviewed-on: https://code.wireshark.org/review/16449 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/tvbtest.c')
-rw-r--r--epan/tvbtest.c5
1 files 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;