Fixed data type for a buffer.

svn path=/trunk/; revision=30609
This commit is contained in:
Stig Bjørlykke 2009-10-18 21:29:44 +00:00
parent de88ead3bc
commit 1f5b4f5864
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{