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.
This commit is contained in:
John Thacker 2021-06-08 19:30:30 -04:00
parent 07bc6e4399
commit c8301ce979
1 changed files with 1 additions and 1 deletions

View File

@ -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;