cppcheck: can add const on some params

This commit is contained in:
Philippe Teuwen committed 2023-01-15 02:23:19 +01:00
1 parent 0a19c3e891
commit 048291dcb3
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -292,7 +292,7 @@ static bool topaz_byte_is_locked(uint16_t byteno) {
}
}
static int topaz_set_cc_dynamic(uint8_t *data) {
static int topaz_set_cc_dynamic(const uint8_t *data) {
if (data[0] != 0xE1) {
topaz_tag.size = TOPAZ_STATIC_MEMORY;