Warning: Using plain integer as NULL pointer