Fix a build issue on Debian unstable. The compiler rejected the convertion to ‘bool’ from ‘std::nullptr_t’

llvm-svn: 251276
This commit is contained in:
Sylvestre Ledru 2015-10-26 08:49:04 +00:00
parent f8e461f920
commit 4cfc919861
1 changed files with 2 additions and 2 deletions

View File

@ -1522,7 +1522,7 @@ RenderScriptRuntime::LoadAllocation(Stream &strm, const uint32_t alloc_id, const
{
if (log)
log->Printf("RenderScriptRuntime::LoadAllocation - Couldn't JIT allocation details");
return nullptr;
return false;
}
}
@ -1637,7 +1637,7 @@ RenderScriptRuntime::SaveAllocation(Stream &strm, const uint32_t alloc_id, const
{
if (log)
log->Printf("RenderScriptRuntime::SaveAllocation - Couldn't JIT allocation details");
return nullptr;
return false;
}
}