Declare the snapshot_length as unsigned.
svn path=/trunk/; revision=37479
This commit is contained in:
parent
8f8f0e9ad6
commit
63b50fe2ee
|
@ -54,7 +54,7 @@ struct wtap {
|
|||
FILE_T fh;
|
||||
FILE_T random_fh; /* Secondary FILE_T for random access */
|
||||
int file_type;
|
||||
int snapshot_length;
|
||||
guint snapshot_length;
|
||||
struct Buffer *frame_buffer;
|
||||
struct wtap_pkthdr phdr;
|
||||
union wtap_pseudo_header pseudo_header;
|
||||
|
|
|
@ -78,7 +78,7 @@ wtap_file_type(wtap *wth)
|
|||
return wth->file_type;
|
||||
}
|
||||
|
||||
int
|
||||
guint
|
||||
wtap_snapshot_length(wtap *wth)
|
||||
{
|
||||
return wth->snapshot_length;
|
||||
|
|
|
@ -912,7 +912,7 @@ guint8 *wtap_buf_ptr(wtap *wth);
|
|||
* from the file so far. */
|
||||
gint64 wtap_read_so_far(wtap *wth);
|
||||
gint64 wtap_file_size(wtap *wth, int *err);
|
||||
int wtap_snapshot_length(wtap *wth); /* per file */
|
||||
guint wtap_snapshot_length(wtap *wth); /* per file */
|
||||
int wtap_file_type(wtap *wth);
|
||||
int wtap_file_encap(wtap *wth);
|
||||
int wtap_file_tsprecision(wtap *wth);
|
||||
|
|
Loading…
Reference in New Issue