diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 16:57:43 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-10 16:57:43 (GMT) |
commit | 97aca504d8e56d4764474a5bc7dfb269ed2294fd (patch) | |
tree | 7e8d4e4dcecafdcd84680ba66e432472bec9ec62 /Source/kwsys/DynamicLoader.cxx | |
parent | 011de35360e8f3b22809f21055ccaff62ba7b212 (diff) | |
download | CMake-97aca504d8e56d4764474a5bc7dfb269ed2294fd.zip CMake-97aca504d8e56d4764474a5bc7dfb269ed2294fd.tar.gz CMake-97aca504d8e56d4764474a5bc7dfb269ed2294fd.tar.bz2 |
ENH: Make sure that we find the proper symbol and not the one that start with _. STYLE: Remove an old style cast
Diffstat (limited to 'Source/kwsys/DynamicLoader.cxx')
-rw-r--r-- | Source/kwsys/DynamicLoader.cxx | 2 |
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; |