From c152a963509a6768309850a8e9e2b9570b18486d Mon Sep 17 00:00:00 2001 From: Frederich Munch Date: Mon, 24 Apr 2017 02:51:40 +0000 Subject: Fix warning converting from void* to boolean introduced in r301153. llvm-svn: 301155 --- llvm/lib/Support/DynamicLibrary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/DynamicLibrary.cpp') diff --git a/llvm/lib/Support/DynamicLibrary.cpp b/llvm/lib/Support/DynamicLibrary.cpp index 1541a572630..05e7ca630ec 100644 --- a/llvm/lib/Support/DynamicLibrary.cpp +++ b/llvm/lib/Support/DynamicLibrary.cpp @@ -61,7 +61,7 @@ public: Handles.push_back(Handle); } else { #ifndef LLVM_ON_WIN32 - if (Process) { + if (Process != nullptr) { if (CanClose) DLClose(Process); if (Process == Handle) -- cgit v1.2.3