minor fix

This commit is contained in:
Karsten Laux 2021-12-16 17:56:51 +01:00
parent 9fbec222a3
commit b9072abf13

View File

@ -22,7 +22,7 @@ public:
std::string arg = argv[i]; std::string arg = argv[i];
if (0 == arg.compare(0, 2, "-w")) if (0 == arg.compare(0, 2, "-w"))
{ {
workerCount_ = std::stoi(arg.substr(2)); workerCount_ = std::stoul(arg.substr(2));
} }
else if (0 == arg.compare(0, 1, "-")) else if (0 == arg.compare(0, 1, "-"))
{ {