diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-18 21:29:44 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-18 21:29:44 +0000 |
commit | 1f5b4f5864183c62df2cbe3582ca4a5a2e8269f4 (patch) | |
tree | fa5ee45ba55d2fcefdbfc5c70dcf3319e63050c2 /wiretap/dct3trace.c | |
parent | de88ead3bc4b47f67504ca4bbadb60e01dd515af (diff) |
Fixed data type for a buffer.
svn path=/trunk/; revision=30609
Diffstat (limited to 'wiretap/dct3trace.c')
-rw-r--r-- | wiretap/dct3trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/dct3trace.c b/wiretap/dct3trace.c index 90d05d8036..3d43e63929 100644 --- a/wiretap/dct3trace.c +++ b/wiretap/dct3trace.c @@ -343,7 +343,7 @@ static gboolean dct3trace_read(wtap *wth, int *err, gchar **err_info, { guint64 offset = file_tell(wth->fh); int buf_len; - char buf[MAX_PACKET_LEN]; + unsigned char buf[MAX_PACKET_LEN]; if( !dct3trace_get_packet(wth->fh, &wth->pseudo_header, buf, &buf_len, err, err_info) ) { @@ -372,7 +372,7 @@ static gboolean dct3trace_seek_read (wtap *wth, gint64 seek_off, int *err, gchar **err_info) { int buf_len; - char buf[MAX_PACKET_LEN]; + unsigned char buf[MAX_PACKET_LEN]; if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { |