cppcheck fixes for const

This commit is contained in:
iceman1001 2022-01-06 15:40:11 +01:00
commit e550f8ccc8
18 changed files with 62 additions and 47 deletions

View file

@ -172,7 +172,7 @@ static void opt_successor(const uint8_t *k, State_t *s, uint8_t y) {
s->l = s->r + r;
}
static void opt_suc(const uint8_t *k, State_t *s, uint8_t *in, uint8_t length, bool add32Zeroes) {
static void opt_suc(const uint8_t *k, State_t *s, const uint8_t *in, uint8_t length, bool add32Zeroes) {
for (int i = 0; i < length; i++) {
uint8_t head;
head = in[i];