diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 924b4747..28e5afaa 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -52,7 +52,7 @@ struct Config uint64_t getIntOption(const std::string & key, uint64_t def = 0) { auto i = options.find(key); - return i == options.end() ? def : std::stoi(i->second); + return i == options.end() ? def : std::stoll(i->second); } bool getBoolOption(const std::string & key, bool def = false)