From 4cfc9198616f535f3d3a0b6b3e9e5f8a2e76988f Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 26 Oct 2015 08:49:04 +0000 Subject: Fix a build issue on Debian unstable. The compiler rejected the convertion to ‘bool’ from ‘std::nullptr_t’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit llvm-svn: 251276 --- .../RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime') diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp index 3e18a40dbe5..ddc5bd70f9e 100644 --- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp +++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp @@ -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; } } -- cgit v1.2.3