From Andre Garneau, warnings fixes fo VC++

This commit is contained in:
Robert Osfield
2007-05-17 10:59:05 +00:00
parent 8c10301d30
commit c7fc2e018e
4 changed files with 9 additions and 8 deletions

View File

@@ -170,7 +170,7 @@ bool Sequence_readLocalData(Object& obj, Input& fr)
{
int sync ;
fr[1].getInt(sync) ;
sw.setSync((bool)sync) ;
sw.setSync(sync!=0) ;
iteratorAdvanced = true;
fr += 2;
}
@@ -181,7 +181,7 @@ bool Sequence_readLocalData(Object& obj, Input& fr)
{
int clearOnStop ;
fr[1].getInt(clearOnStop) ;
sw.setClearOnStop((bool)clearOnStop) ;
sw.setClearOnStop(clearOnStop!=0) ;
iteratorAdvanced = true;
fr += 2;
}