aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-10-04 08:30:36 +0000
committerGuy Harris <guy@alum.mit.edu>2001-10-04 08:30:36 +0000
commit3c9efdf4784d22a4a1a04a256acb50a815f59348 (patch)
treedd8723e71887cc681dd075b04afe17d4455121e7 /editcap.c
parentf52303ffc9a0d12894edca2af06cf064f46a2a91 (diff)
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
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c4
1 files changed, 2 insertions, 2 deletions
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;