From 3c9efdf4784d22a4a1a04a256acb50a815f59348 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 4 Oct 2001 08:30:36 +0000 Subject: Use longs as file offsets, so that on platforms with 64-bit "long" we can handle capture files bigger than 2GB. svn path=/trunk/; revision=3993 --- editcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editcap.c') diff --git a/editcap.c b/editcap.c index b609acbe62..42f6d569d1 100644 --- a/editcap.c +++ b/editcap.c @@ -1,7 +1,7 @@ /* Edit capture files. We can delete records, adjust timestamps, or * simply convert from one format to another format. * - * $Id: editcap.c,v 1.17 2001/07/13 07:55:13 guy Exp $ + * $Id: editcap.c,v 1.18 2001/10/04 08:30:33 guy Exp $ * * Originally written by Richard Sharpe. * Improved by Guy Harris. @@ -137,7 +137,7 @@ typedef struct { */ static void -edit_callback(u_char *user, const struct wtap_pkthdr *phdr, int offset, +edit_callback(u_char *user, const struct wtap_pkthdr *phdr, long offset, union wtap_pseudo_header *pseudo_header, const u_char *buf) { callback_arg *argp = (callback_arg *)user; -- cgit v1.2.3