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 /wiretap/file.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 'wiretap/file.c')
-rw-r--r-- | wiretap/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/file.c b/wiretap/file.c index 62b5dcdbea..92748471af 100644 --- a/wiretap/file.c +++ b/wiretap/file.c @@ -1,6 +1,6 @@ /* file.c * - * $Id: file.c,v 1.67 2001/07/13 00:55:58 guy Exp $ + * $Id: file.c,v 1.68 2001/10/04 08:30:35 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -111,7 +111,7 @@ static int (*open_routines[])(wtap *, int *) = { #define N_FILE_TYPES (sizeof open_routines / sizeof open_routines[0]) -int wtap_def_seek_read(wtap *wth, int seek_off, +int wtap_def_seek_read(wtap *wth, long seek_off, union wtap_pseudo_header *pseudo_header, guint8 *pd, int len) { file_seek(wth->random_fh, seek_off, SEEK_SET); |