contrib/userspace-nvram:
[project/luci.git] / contrib / userspace-nvram / crc.c
index 22a36652aaf1ba88c9a55074f19e005fa161a38d..454a5a682fad03f218d0773149cf738db32f8ce6 100644 (file)
@@ -58,7 +58,7 @@ static const uint8_t crc8_table[256] = {
 };
 
 uint8_t hndcrc8 (
-       uint8_t * pdata,  /* pointer to array of data to process */
+       const char * pdata,  /* pointer to array of data to process */
        uint32_t nbytes,  /* number of input data bytes to process */
        uint8_t crc       /* either CRC8_INIT_VALUE or previous return value */
 ) {