Converting a literal to null pointer produces a warning