summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/DynamicLoader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/DynamicLoader.cxx')
-rw-r--r--Source/kwsys/DynamicLoader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/DynamicLoader.cxx b/Source/kwsys/DynamicLoader.cxx
index cc6a1d5..2bf2a0d 100644
--- a/Source/kwsys/DynamicLoader.cxx
+++ b/Source/kwsys/DynamicLoader.cxx
@@ -305,7 +305,7 @@ int DynamicLoader::CloseLibrary(LibHandle lib)
if (lib)
{
// The function dlclose() returns 0 on success, and non-zero on error.
- return !(int)dlclose(lib);
+ return !dlclose(lib);
}
// else
return 0;