diff options
Diffstat (limited to 'wiretap/vms.c')
-rw-r--r-- | wiretap/vms.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wiretap/vms.c b/wiretap/vms.c index 81b00986dc..38fbb9e124 100644 --- a/wiretap/vms.c +++ b/wiretap/vms.c @@ -144,8 +144,8 @@ to handle them. #define VMS_LINE_LENGTH 240 static gboolean vms_read(wtap *wth, int *err, gchar **err_info, - long *data_offset); -static gboolean vms_seek_read(wtap *wth, long seek_off, + gint64 *data_offset); +static gboolean vms_seek_read(wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header, guint8 *pd, int len, int *err, gchar **err_info); static gboolean parse_single_hex_dump_line(char* rec, guint8 *buf, @@ -210,7 +210,7 @@ static gboolean vms_check_file_type(wtap *wth, int *err) { char buf[VMS_LINE_LENGTH]; guint reclen, line; - long mpos; + gint64 mpos; buf[VMS_LINE_LENGTH-1] = '\0'; @@ -278,9 +278,9 @@ int vms_open(wtap *wth, int *err, gchar **err_info _U_) /* Find the next packet and parse it; called from wtap_read(). */ static gboolean vms_read(wtap *wth, int *err, gchar **err_info, - long *data_offset) + gint64 *data_offset) { - long offset = 0; + gint64 offset = 0; guint8 *buf; int pkt_len; @@ -313,7 +313,7 @@ static gboolean vms_read(wtap *wth, int *err, gchar **err_info, /* Used to read packets in random-access fashion */ static gboolean -vms_seek_read (wtap *wth, long seek_off, +vms_seek_read (wtap *wth, gint64 seek_off, union wtap_pseudo_header *pseudo_header _U_, guint8 *pd, int len, int *err, gchar **err_info) { |