Switch to using C++ style casts.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@198505 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joerg Sonnenberger
2014-01-04 17:43:00 +00:00
parent 6c27250223
commit 4c6acb5ecd
7 changed files with 87 additions and 76 deletions

View File

@@ -167,7 +167,7 @@ set_new_handler(new_handler handler) _NOEXCEPT
new_handler
get_new_handler() _NOEXCEPT
{
return __sync_fetch_and_add(&__new_handler, (new_handler)0);
return __sync_fetch_and_add(&__new_handler, nullptr);
}
#endif // !__GLIBCXX__