ENH: fix compile error bug# 2020 on mac

This commit is contained in:
Bill Hoffman 2005-07-15 11:34:39 -04:00
parent 28d4d449f9
commit 2a8f981bee

View File

@ -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;
}