Make count variable in editcap unsigned, fixes more format string
authoreapache <eapache@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 9 Sep 2012 14:23:38 +0000 (14:23 +0000)
committereapache <eapache@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 9 Sep 2012 14:23:38 +0000 (14:23 +0000)
mismatches.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44820 f5534014-38df-0310-8fa8-9805f1628bb7

editcap.c

index bd1c759bc06bb46aa3a2c24e38ce389a3dbd0281..38c3d82fdbef68e3d9918f7d4144e739869c06eb 100644 (file)
--- a/editcap.c
+++ b/editcap.c
@@ -823,7 +823,7 @@ main(int argc, char *argv[])
   guint32 snaplen = 0;                  /* No limit               */
   int choplen = 0;                      /* No chop                */
   wtap_dumper *pdh = NULL;
-  int count = 1;
+  unsigned int count = 1;
   unsigned duplicate_count = 0;
   gint64 data_offset;
   struct wtap_pkthdr snap_phdr;