diff options
author | Jörg Mayer <jmayer@loplof.de> | 2004-01-24 16:48:12 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2004-01-24 16:48:12 +0000 |
commit | 6e59f95cebdf2d1dc748d7f1ee06264a95fee03b (patch) | |
tree | 0938206fac53aeeeca1fd6d0fcc604cc347c5fb5 /wiretap/iptrace.c | |
parent | 65f18bb833c0259fa3705b6f3147f95354d4a101 (diff) |
Fix all fixable warnings
Move addional warnings from extra-gcc-checks to normal compilation flags
svn path=/trunk/; revision=9826
Diffstat (limited to 'wiretap/iptrace.c')
-rw-r--r-- | wiretap/iptrace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wiretap/iptrace.c b/wiretap/iptrace.c index ddf2f1e114..8d91f940de 100644 --- a/wiretap/iptrace.c +++ b/wiretap/iptrace.c @@ -1,6 +1,6 @@ /* iptrace.c * - * $Id: iptrace.c,v 1.48 2003/10/01 07:11:47 guy Exp $ + * $Id: iptrace.c,v 1.49 2004/01/24 16:48:12 jmayer Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -126,7 +126,7 @@ static gboolean iptrace_read_1_0(wtap *wth, int *err, long *data_offset) guint8 header[IPTRACE_1_0_PHDR_SIZE]; guint8 *data_ptr; iptrace_1_0_phdr pkt_hdr; - char fddi_padding[3]; + guchar fddi_padding[3]; /* Read the descriptor data */ *data_offset = wth->data_offset; @@ -213,7 +213,7 @@ static gboolean iptrace_seek_read_1_0(wtap *wth, long seek_off, int ret; guint8 header[IPTRACE_1_0_PHDR_SIZE]; int pkt_encap; - char fddi_padding[3]; + guchar fddi_padding[3]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) return FALSE; @@ -304,7 +304,7 @@ static gboolean iptrace_read_2_0(wtap *wth, int *err, long *data_offset) guint8 header[IPTRACE_2_0_PHDR_SIZE]; guint8 *data_ptr; iptrace_2_0_phdr pkt_hdr; - char fddi_padding[3]; + guchar fddi_padding[3]; /* Read the descriptor data */ *data_offset = wth->data_offset; @@ -395,7 +395,7 @@ static gboolean iptrace_seek_read_2_0(wtap *wth, long seek_off, int ret; guint8 header[IPTRACE_2_0_PHDR_SIZE]; int pkt_encap; - char fddi_padding[3]; + guchar fddi_padding[3]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) return FALSE; |