diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-07-26 00:20:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-07-26 00:20:09 +0000 |
commit | f48ff36e64b8a10e9b686f32797ffc2521d15586 (patch) | |
tree | 22898e1f0b09cbd4ddf0697c882a93334702984a /wiretap/snoop.c | |
parent | 0d959bbec041ef3e2943fbcd7b6d2a25118d1ad1 (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/snoop.c')
-rw-r--r-- | wiretap/snoop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/snoop.c b/wiretap/snoop.c index 5f2b6ce868..3d247bce21 100644 --- a/wiretap/snoop.c +++ b/wiretap/snoop.c @@ -1,6 +1,6 @@ /* snoop.c * - * $Id: snoop.c,v 1.28 2000/05/19 23:07:02 gram Exp $ + * $Id: snoop.c,v 1.29 2000/07/26 00:20:06 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -60,7 +60,7 @@ static int snoop_seek_read(wtap *wth, int seek_off, union wtap_pseudo_header *pseudo_header, u_char *pd, int length); static int snoop_read_atm_pseudoheader(FILE_T fh, union wtap_pseudo_header *pseudo_header, int *err); -static int snoop_read_rec_data(FILE_T fh, char *pd, int length, int *err); +static int snoop_read_rec_data(FILE_T fh, u_char *pd, int length, int *err); static gboolean snoop_dump(wtap_dumper *wdh, const struct wtap_pkthdr *phdr, const union wtap_pseudo_header *pseudo_header, const u_char *pd, int *err); @@ -384,7 +384,7 @@ snoop_read_atm_pseudoheader(FILE_T fh, union wtap_pseudo_header *pseudo_header, } static int -snoop_read_rec_data(FILE_T fh, char *pd, int length, int *err) +snoop_read_rec_data(FILE_T fh, u_char *pd, int length, int *err) { int bytes_read; |