fix printf-format errors in 32-bit builds

This commit is contained in:
Daniel Eklöf 2020-08-06 23:20:46 +02:00
parent 644859019e
commit 019b6bc039
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 5 additions and 4 deletions

View file

@ -1012,8 +1012,8 @@ parse_section_tweak(
}
conf->tweak.max_shm_pool_size = min(mb * 1024 * 1024, INT32_MAX);
LOG_WARN("tweak: max-shm-pool-size=%lu bytes",
conf->tweak.max_shm_pool_size);
LOG_WARN("tweak: max-shm-pool-size=%lld bytes",
(long long)conf->tweak.max_shm_pool_size);
}
else {