fix some compiler warnings

This commit is contained in:
Dirk-Jan C. Binnema
2020-11-01 14:20:12 +02:00
parent 6b8ccff572
commit 2135844e1b
3 changed files with 14 additions and 12 deletions

View File

@ -140,8 +140,8 @@ Indexer::Private::handler (const std::string& fullpath, struct stat *statbuf,
case Scanner::HandleType::File: {
if ((size_t)statbuf->st_size > max_message_size_) {
g_debug ("skip %s (too big: %zu bytes)",
fullpath.c_str(), statbuf->st_size);
g_debug ("skip %s (too big: %" G_GINT64_FORMAT " bytes)",
fullpath.c_str(), (gint64)statbuf->st_size);
return false;
}