summaryrefslogtreecommitdiff
path: root/ACE/ace/DLL_Manager.cpp
diff options
context:
space:
mode:
authormcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-28 19:13:40 +0000
committermcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-28 19:13:40 +0000
commit551cfc0483912daae2e09d2b7c21f783ec781179 (patch)
tree37b1dea410d469c666b671cc8f1eca2561de7211 /ACE/ace/DLL_Manager.cpp
parentd541cf3a1ab834a059469b49a285acf3f5ad531c (diff)
downloadATCD-551cfc0483912daae2e09d2b7c21f783ec781179.tar.gz
ChangeLogTag: Wed Feb 28 19:16:12 UTC 2007 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ACE/ace/DLL_Manager.cpp')
-rw-r--r--ACE/ace/DLL_Manager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ACE/ace/DLL_Manager.cpp b/ACE/ace/DLL_Manager.cpp
index 02aed30ab42..9f7edb0ad05 100644
--- a/ACE/ace/DLL_Manager.cpp
+++ b/ACE/ace/DLL_Manager.cpp
@@ -731,8 +731,13 @@ ACE_DLL_Manager::unload_dll (ACE_DLL_Handle *dll_handle, int force_unload)
void * const unload_policy_ptr =
dll_handle->symbol (ACE_LIB_TEXT ("_get_dll_unload_policy"), 1);
+#if defined (ACE_OPENVMS) && (!defined (__INITIAL_POINTER_SIZE) || (__INITIAL_POINTER_SIZE < 64))
+ int const temp_p =
+ reinterpret_cast<int> (unload_policy_ptr);
+#else
intptr_t const temp_p =
reinterpret_cast<intptr_t> (unload_policy_ptr);
+#endif
dll_unload_policy const the_policy =
reinterpret_cast<dll_unload_policy> (temp_p);