Added cast to null macro