From c8301ce979a69917d1b08651d165a318400e3bdb Mon Sep 17 00:00:00 2001 From: John Thacker Date: Tue, 8 Jun 2021 19:30:30 -0400 Subject: [PATCH] DVB-S2-BB: Make compute_crc8 offset parameter a guint There's no reason to limit the tvb offset input parameter of this CRC8 function to a guint8, particularly now that the User Packet CRCs later in the Base Band Frame are being checked. --- epan/dissectors/packet-dvb-s2-bb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-dvb-s2-bb.c b/epan/dissectors/packet-dvb-s2-bb.c index 5122f71e1e..e9f3260b68 100644 --- a/epan/dissectors/packet-dvb-s2-bb.c +++ b/epan/dissectors/packet-dvb-s2-bb.c @@ -1127,7 +1127,7 @@ get_gse_subpacket_data(gse_analysis_data *dvbs2_data, guint32 num, guint32 fragi } /* *** helper functions *** */ -static guint8 compute_crc8(tvbuff_t *p, guint8 len, guint8 offset) +static guint8 compute_crc8(tvbuff_t *p, guint8 len, guint offset) { int i; guint8 crc = 0, tmp;