aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/crc16_ccitt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/crc16_ccitt.c')
-rw-r--r--src/generic/crc16_ccitt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/crc16_ccitt.c b/src/generic/crc16_ccitt.c
index 8347bb83..87d08cac 100644
--- a/src/generic/crc16_ccitt.c
+++ b/src/generic/crc16_ccitt.c
@@ -8,7 +8,7 @@
// Implement the standard crc "ccitt" algorithm on the given buffer
uint16_t
-crc16_ccitt(char *buf, uint8_t len)
+crc16_ccitt(uint8_t *buf, uint_fast8_t len)
{
uint16_t crc = 0xffff;
while (len--) {