diff options
Diffstat (limited to 'src/managers/DonationNagManager.cpp')
| -rw-r--r-- | src/managers/DonationNagManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/DonationNagManager.cpp b/src/managers/DonationNagManager.cpp index 249fbdcf..826439b2 100644 --- a/src/managers/DonationNagManager.cpp +++ b/src/managers/DonationNagManager.cpp @@ -69,7 +69,7 @@ CDonationNagManager::CDonationNagManager() { // don't nag if the last nag was less than a month ago. This is // mostly for first-time nags, as other nags happen in specific time frames shorter than a month if (EPOCH - state.epoch < MONTH_IN_SECONDS) { - Debug::log(LOG, "DonationNag: last nag was {} days ago, too early for a nag.", (int)std::round((EPOCH - state.epoch) / (double)DAY_IN_SECONDS)); + Debug::log(LOG, "DonationNag: last nag was {} days ago, too early for a nag.", sc<int>(std::round((EPOCH - state.epoch) / sc<double>(DAY_IN_SECONDS)))); return; } |
