chore: reduce debt

This commit is contained in:
2025-11-10 16:38:34 +01:00
parent 5532cbf53e
commit 1f727dc9b2
5 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ unsigned int config_file_get_int(const ConfigFile *config, const char *key,
return default_value;
}
if (!string_is_number((char *)item->value)) {
if (!string_is_number(item->value)) {
log_warn("Invalid number for %s: '%s'", item->key, item->value);
return default_value;
}