Squelch another warning.

Change-Id: I7340954d9ca2fd11a6db2aa7cd5493d870181e23
Reviewed-on: https://code.wireshark.org/review/12765
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2015-12-20 18:21:35 -08:00
parent f553431ad0
commit c9670e334c
1 changed files with 1 additions and 1 deletions

View File

@ -1208,7 +1208,7 @@ ngsniffer_process_record(wtap *wth, gboolean is_random, guint *padding,
* record, so it's too short by (sizeof frame4 - sizeof frame2).
*/
if (ngsniffer->maj_vers < 5 && ngsniffer->min_vers >= 95)
rec_length_remaining += sizeof frame4 - sizeof frame2;
rec_length_remaining += (guint)(sizeof frame4 - sizeof frame2);
/* Do we have an f_frame4_struct worth of data? */
if (rec_length_remaining < sizeof frame4) {