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/radcom.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/radcom.c')
-rw-r--r-- | wiretap/radcom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/radcom.c b/wiretap/radcom.c index c32bfbaa3b..16ccd6bb40 100644 --- a/wiretap/radcom.c +++ b/wiretap/radcom.c @@ -90,8 +90,8 @@ struct radcomrec_hdr { }; static gboolean radcom_read(wtap *wth, int *err, gchar **err_info, - long *data_offset); -static gboolean radcom_seek_read(wtap *wth, long seek_off, + gint64 *data_offset); +static gboolean radcom_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header, guchar *pd, int length, int *err, gchar **err_info); static int radcom_read_rec_header(FILE_T fh, struct radcomrec_hdr *hdr, @@ -267,7 +267,7 @@ read_error: /* Read the next packet */ static gboolean radcom_read(wtap *wth, int *err, gchar **err_info _U_, - long *data_offset) + gint64 *data_offset) { int ret; struct radcomrec_hdr hdr; @@ -373,7 +373,7 @@ static gboolean radcom_read(wtap *wth, int *err, gchar **err_info _U_, } static gboolean -radcom_seek_read(wtap *wth, long seek_off, +radcom_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header, guchar *pd, int length, int *err, gchar **err_info _U_) { |