Try using gint64 for alignbytes.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 31 Aug 2011 21:16:18 +0000 (21:16 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 31 Aug 2011 21:16:18 +0000 (21:16 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38827 f5534014-38df-0310-8fa8-9805f1628bb7

wiretap/erf.c

index 562bf65b28baa1010ccf048ee5572aa0606e7e3e..2c1d8d9ece78c40421448d57b587bead25d342af 100644 (file)
@@ -560,7 +560,7 @@ static gboolean erf_dump(
   union wtap_pseudo_header other_phdr;
   int newencap = -1;
   int encap;
-  int alignbytes = 0;
+  gint64 alignbytes = 0;
   int i;
   guint32 crc32 = 0x00000000;