Commit b9af535f authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* spot/twaalgos/strength.cc: Fix unsigned/signed cmp.

parent 09e47d64
...@@ -243,7 +243,7 @@ namespace spot ...@@ -243,7 +243,7 @@ namespace spot
{ {
char* endptr; char* endptr;
long int scc = strtol(keep_opt - 1, &endptr, 10); long int scc = strtol(keep_opt - 1, &endptr, 10);
if (scc >= n) if ((long unsigned) scc >= n)
{ {
throw std::runtime_error throw std::runtime_error
(std::string("decompose_scc(): there is no SCC ") (std::string("decompose_scc(): there is no SCC ")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment