Commit 0c723d28 authored by Daniel Salzman's avatar Daniel Salzman

confdb: fix void arithmetic (cppcheck)

parent 98ccde06
......@@ -560,7 +560,7 @@ int conf_db_iter_id(
return ret;
}
*data = key.data + CONF_MIN_KEY_LEN;
*data = (uint8_t *)key.data + CONF_MIN_KEY_LEN;
*data_len = key.len - CONF_MIN_KEY_LEN;
return KNOT_EOK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment