Clean up some ANSI C nits pointed out by "gcc -pedantic".
[obnox/wireshark/wip.git] / follow.c
index e24b495eb805664810447b4ed6d17651a2833d1a..4122db74a34c2843491b531b8e94399d06ad211f 100644 (file)
--- a/follow.c
+++ b/follow.c
@@ -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 );
 }