aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ber.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/ber.c
parented837bc7a517040020da2717b392a0ca086e276a (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/ber.c')
-rw-r--r--wiretap/ber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/ber.c b/wiretap/ber.c
index 27fb232da7..6e37a6fe9e 100644
--- a/wiretap/ber.c
+++ b/wiretap/ber.c
@@ -42,7 +42,7 @@
#define BER_UNI_TAG_SEQ 16 /* SEQUENCE, SEQUENCE OF */
#define BER_UNI_TAG_SET 17 /* SET, SET OF */
-static gboolean ber_read(wtap *wth, int *err, gchar **err_info, long *data_offset)
+static gboolean ber_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset)
{
guint8 *buf;
gint64 file_size;
@@ -93,7 +93,7 @@ static gboolean ber_read(wtap *wth, int *err, gchar **err_info, long *data_offse
return TRUE;
}
-static gboolean ber_seek_read(wtap *wth, long seek_off, union wtap_pseudo_header *pseudo_header _U_,
+static gboolean ber_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header _U_,
guint8 *pd, int length, int *err, gchar **err_info _U_)
{
int packet_size = length;