Force casts to please clang on OSX

* spot/twa/twagraph.hh, spot/twaalgos/minimize.cc,
spot/twaalgos/remfin.cc: Here.
This commit is contained in:
Etienne Renault 2016-02-29 09:05:03 +01:00
parent 1e18c1a3d4
commit 092e3630f4
3 changed files with 4 additions and 4 deletions

View file

@ -434,7 +434,7 @@ namespace spot
acc_cond::mark_t state_acc_sets(unsigned s) const
{
assert(prop_state_acc() || num_sets() == 0);
assert((bool)prop_state_acc() || num_sets() == 0);
for (auto& t: g_.out(s))
// Stop at the first edge, since the remaining should be
// labeled identically.
@ -444,7 +444,7 @@ namespace spot
bool state_is_accepting(unsigned s) const
{
assert(prop_state_acc() || num_sets() == 0);
assert((bool)prop_state_acc() || num_sets() == 0);
for (auto& t: g_.out(s))
// Stop at the first edge, since the remaining should be
// labeled identically.