From 59d6c8ea33b703a4282ac6694f2797202b64dfcb Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Sun, 5 Nov 2006 22:46:44 +0000 Subject: change all file offsets from long to gint64 so we can - theoretically - handle files > 2GB correct. Please distclean Win32 builds! svn path=/trunk/; revision=19814 --- wiretap/netmon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wiretap/netmon.c') diff --git a/wiretap/netmon.c b/wiretap/netmon.c index 19eb125bcd..7f21ac2d01 100644 --- a/wiretap/netmon.c +++ b/wiretap/netmon.c @@ -105,8 +105,8 @@ struct netmon_atm_hdr { }; static gboolean netmon_read(wtap *wth, int *err, gchar **err_info, - long *data_offset); -static gboolean netmon_seek_read(wtap *wth, long seek_off, + gint64 *data_offset); +static gboolean netmon_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header, guchar *pd, int length, int *err, gchar **err_info); static gboolean netmon_read_atm_pseudoheader(FILE_T fh, @@ -306,7 +306,7 @@ int netmon_open(wtap *wth, int *err, gchar **err_info) /* Read the next packet */ static gboolean netmon_read(wtap *wth, int *err, gchar **err_info, - long *data_offset) + gint64 *data_offset) { netmon_t *netmon = wth->capture.netmon; guint32 packet_size = 0; @@ -471,7 +471,7 @@ static gboolean netmon_read(wtap *wth, int *err, gchar **err_info, } static gboolean -netmon_seek_read(wtap *wth, long seek_off, +netmon_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header, guchar *pd, int length, int *err, gchar **err_info _U_) { -- cgit v1.2.3