diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-11-18 21:04:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-11-18 21:04:54 +0000 |
commit | 1ecbfc0619ba3ae5ca08865fae2e4f879082ce13 (patch) | |
tree | 699d71180346c7a648147ff48486eb4b89364341 /follow.c | |
parent | 61ba58ac8372171e2aa0acf3af78c7afb3e5a0e6 (diff) | |
download | wireshark-1ecbfc0619ba3ae5ca08865fae2e4f879082ce13.tar.gz wireshark-1ecbfc0619ba3ae5ca08865fae2e4f879082ce13.tar.bz2 wireshark-1ecbfc0619ba3ae5ca08865fae2e4f879082ce13.zip |
Clean up some ANSI C nits pointed out by "gcc -pedantic".
svn path=/trunk/; revision=1060
Diffstat (limited to 'follow.c')
-rw-r--r-- | follow.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* follow.c * - * $Id: follow.c,v 1.16 1999/10/22 07:17:29 guy Exp $ + * $Id: follow.c,v 1.17 1999/11/18 21:04:53 guy Exp $ * * Copyright 1998 Mike Hall <mlh@io.com> * @@ -54,7 +54,7 @@ static guint32 ip_address[2]; static u_int tcp_port[2]; static int check_fragments( int ); -static void write_packet_data( const u_char *, int ); +static void write_packet_data( const char *, int ); /* this will build libpcap filter text that will only pass the packets related to the stream. There is a @@ -262,7 +262,7 @@ reset_tcp_reassembly() { } static void -write_packet_data( const u_char* data, int length ) { +write_packet_data( const char* data, int length ) { fwrite( data, 1, length, data_out_file ); } |