aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ngsniffer.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-07-26 00:20:09 +0000
committerGuy Harris <guy@alum.mit.edu>2000-07-26 00:20:09 +0000
commitf48ff36e64b8a10e9b686f32797ffc2521d15586 (patch)
tree22898e1f0b09cbd4ddf0697c882a93334702984a /wiretap/ngsniffer.c
parent0d959bbec041ef3e2943fbcd7b6d2a25118d1ad1 (diff)
Use unsigned character pointers and arrays rather than signed character
pointers and arrays in a number of places, to remove warnings some compilers give. svn path=/trunk/; revision=2160
Diffstat (limited to 'wiretap/ngsniffer.c')
-rw-r--r--wiretap/ngsniffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/ngsniffer.c b/wiretap/ngsniffer.c
index 14bb13da29..8f941b18bf 100644
--- a/wiretap/ngsniffer.c
+++ b/wiretap/ngsniffer.c
@@ -1,6 +1,6 @@
/* ngsniffer.c
*
- * $Id: ngsniffer.c,v 1.46 2000/06/28 03:58:52 guy Exp $
+ * $Id: ngsniffer.c,v 1.47 2000/07/26 00:20:07 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@@ -266,7 +266,7 @@ static int ngsniffer_read_frame4(wtap *wth, FILE_T fh,
static void set_pseudo_header_frame4(union wtap_pseudo_header *pseudo_header,
struct frame4_rec *frame4);
static int ngsniffer_read_rec_data(wtap *wth, FILE_T fh,
- ngsniffer_comp_stream_t *comp_stream, char *pd, int length, int *err);
+ ngsniffer_comp_stream_t *comp_stream, u_char *pd, int length, int *err);
static void ngsniffer_sequential_close(wtap *wth);
static void ngsniffer_close(wtap *wth);
static gboolean ngsniffer_dump(wtap_dumper *wdh, const struct wtap_pkthdr *phdr,
@@ -853,7 +853,7 @@ static void set_pseudo_header_frame4(union wtap_pseudo_header *pseudo_header,
}
static int ngsniffer_read_rec_data(wtap *wth, FILE_T fh,
- ngsniffer_comp_stream_t *comp_stream, char *pd, int length, int *err)
+ ngsniffer_comp_stream_t *comp_stream, u_char *pd, int length, int *err)
{
int bytes_read;