From 0b82b055663e324cc3efbddeea6dc0e06a95ba09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Tue, 27 Aug 2024 16:57:12 +0200 Subject: [PATCH] Fix CRC-8 lookup table data type --- inro/crclookuptable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inro/crclookuptable.h b/inro/crclookuptable.h index 1fa34c3..019597f 100644 --- a/inro/crclookuptable.h +++ b/inro/crclookuptable.h @@ -4,7 +4,7 @@ //CRC-8/NRSC-5 lookup table -const QVector crc8LookupTable = { +static const quint8 crc8LookupTable[256] = { 0x00, 0x31, 0x62, 0x53, 0xc4, 0xf5, 0xa6, 0x97, 0xb9, 0x88, 0xdb, 0xea, 0x7d, 0x4c, 0x1f, 0x2e, 0x43, 0x72, 0x21, 0x10, 0x87, 0xb6, 0xe5, 0xd4,