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>
This commit is contained in:
Michael Mann 2016-07-14 20:53:43 -04:00
parent f2a7594ac0
commit 9397b262e9
1 changed files with 3 additions and 2 deletions

View File

@ -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;