Fix compiler warnings.

This commit is contained in:
redpolline 2024-06-24 02:48:22 -04:00
parent e767bb9fe9
commit c9236a7337
6 changed files with 9 additions and 9 deletions

View file

@ -717,7 +717,7 @@ bool Local_Storage::load_json(std::string full_path, nlohmann::json& json)
try {
json = std::move(nlohmann::json::parse(buffer));
PRINT_DEBUG("Loaded json \"%s\". Loaded %u items.\n", full_path.c_str(), json.size());
PRINT_DEBUG("Loaded json \"%s\". Loaded %" PRI_ZU " items.\n", full_path.c_str(), json.size());
return true;
} catch (std::exception& e) {
PRINT_DEBUG("Error while parsing \"%s\" json: %s\n", full_path.c_str(), e.what());