summaryrefslogtreecommitdiff
path: root/wiretap/csids.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-11-05 22:46:44 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-11-05 22:46:44 +0000
commit59d6c8ea33b703a4282ac6694f2797202b64dfcb (patch)
treea4abb83c0c20eafb12ab250bcf7f32f74f281b44 /wiretap/csids.c
parented837bc7a517040020da2717b392a0ca086e276a (diff)
downloadwireshark-59d6c8ea33b703a4282ac6694f2797202b64dfcb.tar.gz
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
Diffstat (limited to 'wiretap/csids.c')
-rw-r--r--wiretap/csids.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/csids.c b/wiretap/csids.c
index 86c0843a50..fc078c2129 100644
--- a/wiretap/csids.c
+++ b/wiretap/csids.c
@@ -45,8 +45,8 @@
*/
static gboolean csids_read(wtap *wth, int *err, gchar **err_info,
- long *data_offset);
-static gboolean csids_seek_read(wtap *wth, long seek_off,
+ gint64 *data_offset);
+static gboolean csids_seek_read(wtap *wth, gint64 seek_off,
union wtap_pseudo_header *pseudo_header, guint8 *pd, int len,
int *err, gchar **err_info);
static void csids_close(wtap *wth);
@@ -145,7 +145,7 @@ int csids_open(wtap *wth, int *err, gchar **err_info _U_)
/* Find the next packet and parse it; called from wtap_read(). */
static gboolean csids_read(wtap *wth, int *err, gchar **err_info _U_,
- long *data_offset)
+ gint64 *data_offset)
{
guint8 *buf;
int bytesRead = 0;
@@ -200,7 +200,7 @@ static gboolean csids_read(wtap *wth, int *err, gchar **err_info _U_,
/* Used to read packets in random-access fashion */
static gboolean
csids_seek_read (wtap *wth,
- long seek_off,
+ gint64 seek_off,
union wtap_pseudo_header *pseudo_header _U_,
guint8 *pd,
int len,