It's right. What you have is not the value of the boolean but a pointer to the boolean. You must ...
stackoverflow.com