summaryrefslogtreecommitdiff
path: root/Source/cmDynamicLoader.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-15 11:34:39 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-15 11:34:39 -0400
commit2a8f981bee46ac0e5e0e0beb0950fb2f776381b7 (patch)
tree64ac64290f2d51bb605d51b59d06f41b6796aede /Source/cmDynamicLoader.cxx
parent28d4d449f9134f56b3cf1b52a29b1c38f56c2ef3 (diff)
downloadcmake-2a8f981bee46ac0e5e0e0beb0950fb2f776381b7.tar.gz
ENH: fix compile error bug# 2020 on mac
Diffstat (limited to 'Source/cmDynamicLoader.cxx')
-rw-r--r--Source/cmDynamicLoader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx
index 469401c10b..490553105d 100644
--- a/Source/cmDynamicLoader.cxx
+++ b/Source/cmDynamicLoader.cxx
@@ -182,7 +182,7 @@ int cmDynamicLoader::CloseLibrary(cmLibHandle lib)
// we have to use lib because the macro may not...
(void)lib;
- NSUnLinkModule(lib, FALSE);
+ NSUnLinkModule((NSModule)lib, FALSE);
return 1;
}