make the cast from int to bool explicit to prevent a warning
remove parantheses
Merge pull request #561 from BenjaminW3/issue3

make the cast from int to bool explicit to prevent a warning