diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-10-04 08:30:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-10-04 08:30:36 +0000 |
commit | 3c9efdf4784d22a4a1a04a256acb50a815f59348 (patch) | |
tree | dd8723e71887cc681dd075b04afe17d4455121e7 /editcap.c | |
parent | f52303ffc9a0d12894edca2af06cf064f46a2a91 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |