cancel a boolean value to pointer value cast