summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/loadlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/loadlib.cpp')
-rw-r--r--plugins/SecureIM/src/loadlib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/loadlib.cpp b/plugins/SecureIM/src/loadlib.cpp
index 640f464ce4..c1c5cc483e 100644
--- a/plugins/SecureIM/src/loadlib.cpp
+++ b/plugins/SecureIM/src/loadlib.cpp
@@ -6,9 +6,9 @@ HMODULE h;
BOOL loadlib(void)
{
h = LoadLibrary("plugins/cryptopp.dll");
- if (h == NULL) {
+ if (h == nullptr) {
h = LoadLibrary("cryptopp.dll");
- if (h == NULL) return 0;
+ if (h == nullptr) return 0;
}
cpp.cc = (_cpp_create_context)GetProcAddress(h, "cpp_create_context");