cppcheck fixes for const

This commit is contained in:
iceman1001 committed 2022-01-06 15:40:11 +01:00
1 parent 0bb9c43354
commit e550f8ccc8
18 files changed
+62 -47

No files matched your search

+1 -1
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];