diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-30 16:42:40 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-30 16:42:40 -0700 |
| commit | 3d9fecda43cc9be59a458c3e37bbd15a9c3412c6 (patch) | |
| tree | 80c1f7ac8756e16b076c5c2fa2351a424c5ca0c7 | |
| parent | dd56b93639ed0d045fd237aa59c2444901aae08c (diff) | |
| parent | 642ea41abdcbfda221bd7cdfa6d0005441e30733 (diff) | |
| download | mruby-3d9fecda43cc9be59a458c3e37bbd15a9c3412c6.tar.gz mruby-3d9fecda43cc9be59a458c3e37bbd15a9c3412c6.zip | |
Merge pull request #1118 from nemerle/fix_crc_signature
Fix the calc_crc_16_ccitt signature to match the source file
| -rw-r--r-- | include/mruby/dump.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/mruby/dump.h b/include/mruby/dump.h index 2533a4c93..d1d097cd2 100644 --- a/include/mruby/dump.h +++ b/include/mruby/dump.h @@ -141,9 +141,8 @@ bin_to_uint8(const uint8_t *bin) } /* crc.c */ -uint32_t -calc_crc_16_ccitt(const uint8_t *src, uint32_t nbytes, uint16_t crcwk); - +uint16_t +calc_crc_16_ccitt(const uint8_t *src, size_t nbytes, uint16_t crc); #if defined(__cplusplus) } /* extern "C" { */ #endif |
