From 4cfc9198616f535f3d3a0b6b3e9e5f8a2e76988f Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 26 Oct 2015 08:49:04 +0000 Subject: =?UTF-8?q?Fix=20a=20build=20issue=20on=20Debian=20unstable.=20The?= =?UTF-8?q?=20compiler=20rejected=20the=20convertion=20to=20=E2=80=98bool?= =?UTF-8?q?=E2=80=99=20from=20=E2=80=98std::nullptr=5Ft=E2=80=99?= 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/RenderScriptRuntime.cpp') diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp index 3e18a40dbe59..ddc5bd70f9e8 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