summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-15 15:34:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-15 15:34:39 (GMT)
commit2a8f981bee46ac0e5e0e0beb0950fb2f776381b7 (patch)
tree64ac64290f2d51bb605d51b59d06f41b6796aede
parent28d4d449f9134f56b3cf1b52a29b1c38f56c2ef3 (diff)
downloadCMake-2a8f981bee46ac0e5e0e0beb0950fb2f776381b7.zip
CMake-2a8f981bee46ac0e5e0e0beb0950fb2f776381b7.tar.gz
CMake-2a8f981bee46ac0e5e0e0beb0950fb2f776381b7.tar.bz2
ENH: fix compile error bug# 2020 on mac
-rw-r--r--Source/cmDynamicLoader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDynamicLoader.cxx b/Source/cmDynamicLoader.cxx
index 469401c..4905531 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;
}