This should not be necessary, but this is for (at least) two reasons:
- Our C++11 compatibility code simply defines nullptr as 0 (and 0
may have a different size to (const void *)0).
- Xcode compiler on OS X throw an error without that cast (cannot
pass object of non-POD type nullptr through variadic method).