[RDY] Convert some values into bools

Not a very exciting change. 
I don't think gcc likes comparing pointers of different types.