Removed reinterpret_cast of NULL (not allowed in Clang)