Skip to content

Commit

Permalink
Fixed to uint8_t
Browse files Browse the repository at this point in the history
  • Loading branch information
masuidrive committed Mar 8, 2013
1 parent 8140942 commit d1a4958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/mruby/irep.h
Expand Up @@ -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" { */
Expand Down
2 changes: 1 addition & 1 deletion src/crc.c
Expand Up @@ -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;
Expand Down

0 comments on commit d1a4958

Please sign in to comment.