diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-11-05 22:46:44 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-11-05 22:46:44 +0000 |
commit | 59d6c8ea33b703a4282ac6694f2797202b64dfcb (patch) | |
tree | a4abb83c0c20eafb12ab250bcf7f32f74f281b44 /wiretap/5views.c | |
parent | ed837bc7a517040020da2717b392a0ca086e276a (diff) |
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/5views.c')
-rw-r--r-- | wiretap/5views.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/5views.c b/wiretap/5views.c index e44969fe4f..edfb7b5c13 100644 --- a/wiretap/5views.c +++ b/wiretap/5views.c @@ -104,12 +104,12 @@ typedef struct #define CST_5VW_SYSTEM_RECORD 0x00000000 static gboolean _5views_read(wtap *wth, int *err, gchar **err_info, - long *data_offset); + gint64 *data_offset); static gboolean _5views_read_rec_data(FILE_T fh, guchar *pd, int length, int *err); static int _5views_read_header(wtap *wth, FILE_T fh, t_5VW_TimeStamped_Header *hdr, int *err); -static gboolean _5views_seek_read(wtap *wth, long seek_off, +static gboolean _5views_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header, guchar *pd, int length, int *err, gchar **err_info); @@ -204,7 +204,7 @@ int _5views_open(wtap *wth, int *err, gchar **err_info) /* Read the next packet */ static gboolean -_5views_read(wtap *wth, int *err, gchar **err_info _U_, long *data_offset) +_5views_read(wtap *wth, int *err, gchar **err_info _U_, gint64 *data_offset) { t_5VW_TimeStamped_Header TimeStamped_Header; int bytes_read; @@ -314,7 +314,7 @@ _5views_read_header(wtap *wth _U_, FILE_T fh, t_5VW_TimeStamped_Header *hdr, } static gboolean -_5views_seek_read(wtap *wth, long seek_off, +_5views_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header, guchar *pd, int length, int *err, gchar **err_info _U_) { |