Skip to content

Commit

Permalink
Squelch another warning.
Browse files Browse the repository at this point in the history
Change-Id: I7340954d9ca2fd11a6db2aa7cd5493d870181e23
Reviewed-on: https://code.wireshark.org/review/12765
Reviewed-by: Guy Harris <[email protected]>
  • Loading branch information
guyharris committed Dec 21, 2015
1 parent f553431 commit c9670e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiretap/ngsniffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c9670e3

Please sign in to comment.