diff options
Diffstat (limited to 'utils/imxtools/sbtools/crc.c')
-rw-r--r-- | utils/imxtools/sbtools/crc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/imxtools/sbtools/crc.c b/utils/imxtools/sbtools/crc.c index eaf257ddfe..9f7146881b 100644 --- a/utils/imxtools/sbtools/crc.c +++ b/utils/imxtools/sbtools/crc.c | |||
@@ -68,12 +68,12 @@ static uint32_t crc_table[256] = { | |||
68 | 0x0B8757BDA, 0x0B5365D03, 0x0B1F740B4 | 68 | 0x0B8757BDA, 0x0B5365D03, 0x0B1F740B4 |
69 | }; | 69 | }; |
70 | 70 | ||
71 | uint32_t crc(byte *data, int size) | 71 | uint32_t crc(uint8_t *data, int size) |
72 | { | 72 | { |
73 | return crc_continue(0xffffffff, data, size); | 73 | return crc_continue(0xffffffff, data, size); |
74 | } | 74 | } |
75 | 75 | ||
76 | uint32_t crc_continue(uint32_t previous_crc, byte *data, int size) | 76 | uint32_t crc_continue(uint32_t previous_crc, uint8_t *data, int size) |
77 | { | 77 | { |
78 | uint32_t c = previous_crc; | 78 | uint32_t c = previous_crc; |
79 | /* normal CRC */ | 79 | /* normal CRC */ |