From b9072abf13707a6fff3d7a105fd6aea905025d67 Mon Sep 17 00:00:00 2001 From: karsten Date: Thu, 16 Dec 2021 17:56:51 +0100 Subject: [PATCH] minor fix --- Parameters.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parameters.hpp b/Parameters.hpp index 65bd563..de45b24 100644 --- a/Parameters.hpp +++ b/Parameters.hpp @@ -22,7 +22,7 @@ public: std::string arg = argv[i]; 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, "-")) {