diff --git a/src/BtSetup.cc b/src/BtSetup.cc index d74fe41c..63f20569 100644 --- a/src/BtSetup.cc +++ b/src/BtSetup.cc @@ -157,8 +157,9 @@ void BtSetup::setup(std::vector>& commands, if (!metadataGetMode) { auto unionCri = make_unique(); if (option->defined(PREF_SEED_TIME)) { - unionCri->addSeedCriteria(make_unique( - std::chrono::seconds((int)(option->getAsDouble(PREF_SEED_TIME) * 60)))); + unionCri->addSeedCriteria( + make_unique(std::chrono::seconds( + static_cast(option->getAsDouble(PREF_SEED_TIME) * 60)))); } { double ratio = option->getAsDouble(PREF_SEED_RATIO);