Fixed to uint8_t

This commit is contained in:
Yuichiro MASUI
2013-03-08 21:46:48 +09:00
parent 814094230c
commit d1a4958bfc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
#define CRC_CARRY_BIT (1 << 24)
uint16_t
calc_crc_16_ccitt(const unsigned char *src, uint32_t nbytes, uint16_t crc)
calc_crc_16_ccitt(const uint8_t *src, uint32_t nbytes, uint16_t crc)
{
uint32_t ibyte, ibit;
uint32_t crcwk = crc << 8;