fix some implicit promotion from bool, as suggested by PVS-Studio

For #192.

* spot/parseaut/parseaut.yy, spot/parseaut/scanaut.ll,
spot/tl/randomltl.cc, spot/twa/acc.cc, spot/twaalgos/postproc.hh: Here.
This commit is contained in:
Alexandre Duret-Lutz 2016-10-28 22:53:29 +02:00
parent 630e90b9cc
commit 279bfa00bd
5 changed files with 13 additions and 13 deletions

View file

@ -425,7 +425,7 @@ namespace spot
YY_NEW_FILE;
hoayyreset();
if (want_interactive)
yy_set_interactive(true);
yy_set_interactive(1);
return 0;
}
@ -461,7 +461,7 @@ namespace spot
YY_NEW_FILE;
hoayyreset();
if (want_interactive)
yy_set_interactive(true);
yy_set_interactive(1);
return 0;
}