Commit 22d0c220 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Replaced a NULL not accepted by old GCC in C++0x mode by a cast

parent ee679002
......@@ -50,7 +50,7 @@ MemorySegmentLocal::getNamedAddressImpl(const char* name) const {
if (found != named_addrs_.end()) {
return (NamedAddressResult(true, found->second));
return (NamedAddressResult(false, NULL));
return (NamedAddressResult(false, static_cast<void*>(0)));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment