* spot/twaalgos/strength.cc: Fix unsigned/signed cmp.
This commit is contained in:
parent
09e47d648a
commit
b9af535f3d
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ namespace spot
|
|||
{
|
||||
char* endptr;
|
||||
long int scc = strtol(keep_opt - 1, &endptr, 10);
|
||||
if (scc >= n)
|
||||
if ((long unsigned) scc >= n)
|
||||
{
|
||||
throw std::runtime_error
|
||||
(std::string("decompose_scc(): there is no SCC ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue