summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DynamicLibrary.cpp
diff options
context:
space:
mode:
authorFrederich Munch <colsebas@hotmail.com>2017-04-24 02:51:40 +0000
committerFrederich Munch <colsebas@hotmail.com>2017-04-24 02:51:40 +0000
commitc152a963509a6768309850a8e9e2b9570b18486d (patch)
treee0a4cde4c14dbd55daabb1ed65c8fe080df037a0 /llvm/lib/Support/DynamicLibrary.cpp
parent0cdcdf018eab844792cd82de4a90c85d400a067c (diff)
downloadbcm5719-llvm-c152a963509a6768309850a8e9e2b9570b18486d.tar.gz
bcm5719-llvm-c152a963509a6768309850a8e9e2b9570b18486d.zip
Fix warning converting from void* to boolean introduced in r301153.
llvm-svn: 301155
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
-rw-r--r--llvm/lib/Support/DynamicLibrary.cpp2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud