Try using gint64 for alignbytes.
[obnox/wireshark/wip.git] / 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;