aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/i4btrace.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-11-05 22:46:44 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-11-05 22:46:44 +0000
commitd494883dde3d40cce3f04e8dd1f0d73037e63378 (patch)
treea4abb83c0c20eafb12ab250bcf7f32f74f281b44 /wiretap/i4btrace.c
parent3928e1990145cf1cc0eb0de01d1196f422d78a4c (diff)
change all file offsets from long to gint64 so we can - theoretically - handle files > 2GB correct.
Please distclean Win32 builds! git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19814 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/i4btrace.c')
-rw-r--r--wiretap/i4btrace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/i4btrace.c b/wiretap/i4btrace.c
index 9b9d2d6a7c..97515ddf94 100644
--- a/wiretap/i4btrace.c
+++ b/wiretap/i4btrace.c
@@ -34,8 +34,8 @@
#include "i4btrace.h"
static gboolean i4btrace_read(wtap *wth, int *err, gchar **err_info,
- long *data_offset);
-static gboolean i4btrace_seek_read(wtap *wth, long seek_off,
+ gint64 *data_offset);
+static gboolean i4btrace_seek_read(wtap *wth, gint64 seek_off,
union wtap_pseudo_header *pseudo_header, guchar *pd, int length,
int *err, gchar **err_info);
static int i4b_read_rec_header(FILE_T fh, i4b_trace_hdr_t *hdr, int *err);
@@ -116,7 +116,7 @@ int i4btrace_open(wtap *wth, int *err, gchar **err_info _U_)
/* Read the next packet */
static gboolean i4btrace_read(wtap *wth, int *err, gchar **err_info,
- long *data_offset)
+ gint64 *data_offset)
{
int ret;
i4b_trace_hdr_t hdr;
@@ -182,7 +182,7 @@ static gboolean i4btrace_read(wtap *wth, int *err, gchar **err_info,
}
static gboolean
-i4btrace_seek_read(wtap *wth, long seek_off,
+i4btrace_seek_read(wtap *wth, gint64 seek_off,
union wtap_pseudo_header *pseudo_header, guchar *pd, int length,
int *err, gchar **err_info _U_)
{