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/i4btrace.c | |
parent | 0d959bbec041ef3e2943fbcd7b6d2a25118d1ad1 (diff) | |
download | wireshark-f48ff36e64b8a10e9b686f32797ffc2521d15586.tar.gz wireshark-f48ff36e64b8a10e9b686f32797ffc2521d15586.tar.bz2 wireshark-f48ff36e64b8a10e9b686f32797ffc2521d15586.zip |
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/i4btrace.c')
-rw-r--r-- | wiretap/i4btrace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/i4btrace.c b/wiretap/i4btrace.c index 115fc76017..e15d9f5cf7 100644 --- a/wiretap/i4btrace.c +++ b/wiretap/i4btrace.c @@ -1,6 +1,6 @@ /* i4btrace.c * - * $Id: i4btrace.c,v 1.7 2000/05/19 23:06:50 gram Exp $ + * $Id: i4btrace.c,v 1.8 2000/07/26 00:20:08 guy Exp $ * * Wiretap Library * Copyright (c) 1999 by Bert Driehuis <driehuis@playbeing.org> @@ -37,7 +37,7 @@ static int i4btrace_seek_read(wtap *wth, int seek_off, union wtap_pseudo_header *pseudo_header, u_char *pd, int length); static int i4b_read_rec_header(FILE_T fh, i4b_trace_hdr_t *hdr, int *err); static void i4b_byte_swap_header(wtap *wth, i4b_trace_hdr_t *hdr); -static int i4b_read_rec_data(FILE_T fh, char *pd, int length, int *err); +static int i4b_read_rec_data(FILE_T fh, u_char *pd, int length, int *err); /* * Test some fields in the header to see if they make sense. @@ -262,7 +262,7 @@ i4b_byte_swap_header(wtap *wth, i4b_trace_hdr_t *hdr) } static int -i4b_read_rec_data(FILE_T fh, char *pd, int length, int *err) +i4b_read_rec_data(FILE_T fh, u_char *pd, int length, int *err) { int bytes_read; |