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
@@ -31,7 +31,7 @@ typedef struct mrb_irep {
#define MRB_ISEQ_NO_FREE 1
mrb_irep *mrb_add_irep(mrb_state *mrb);
mrb_value mrb_load_irep(mrb_state*,const unsigned char*);
mrb_value mrb_load_irep(mrb_state*, const uint8_t*);
#if defined(__cplusplus)
} /* extern "C" { */
+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;