Re:Linus: bool is dangerous in C if you don't understand it
by chrismcb on Sunday September 01, 2013 @02:22AM
(#6309333)
Why not make the correct comparison and do BOOL b = pointer != NULL. Now the code says what you mean, is easy to understand, and assigns a boolean value to a bool.
[ Parent
| on HN ]