diff options
| author | Yuichiro MASUI <[email protected]> | 2013-03-08 21:46:48 +0900 |
|---|---|---|
| committer | Yuichiro MASUI <[email protected]> | 2013-03-08 21:46:48 +0900 |
| commit | d1a4958bfc9685a41379557a752ebf901ebe419d (patch) | |
| tree | e5ac47e16f1fb52bc058e8f9a4b51794fc84a523 /src | |
| parent | 814094230cb49ac3699296e49e03b6b19c5fcf10 (diff) | |
| download | mruby-d1a4958bfc9685a41379557a752ebf901ebe419d.tar.gz mruby-d1a4958bfc9685a41379557a752ebf901ebe419d.zip | |
Fixed to uint8_t
Diffstat (limited to 'src')
| -rw-r--r-- | src/crc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
