diff --git a/tools/dimacs-solver.cc b/tools/dimacs-solver.cc --- a/tools/dimacs-solver.cc +++ b/tools/dimacs-solver.cc @@ -115,7 +115,7 @@ void solve(ArgParser &ap, std::istream &is, std::ostream &os, DimacsDescriptor &desc) { - std::stringstream iss(ap["infcap"]); + std::stringstream iss(static_cast(ap["infcap"])); Value infty; iss >> infty; if(iss.fail())