seperate Mu::format and Mu::vformat

This commit is contained in:
Derek Zhou
2021-04-22 18:32:38 +00:00
parent 5edc5a886a
commit dc6f76d74d
6 changed files with 9 additions and 7 deletions

View File

@ -481,7 +481,7 @@ Store::set_dirstamp (const std::string& path, time_t tstamp)
LOCKED;
std::array<char, 2*sizeof(tstamp)+1> data{};
const std::size_t len = g_snprintf (data.data(), data.size(), "%zx", tstamp);
const std::size_t len = g_snprintf (data.data(), data.size(), "%zx", (size_t)tstamp);
priv_->writable_db().set_metadata(path, std::string{data.data(), len});
priv_->dirty();