diff options
author | msmit <msmit@remedy.nl> | 2009-03-16 19:38:57 +0000 |
---|---|---|
committer | msmit <msmit@remedy.nl> | 2009-03-16 19:38:57 +0000 |
commit | 50a6f9905e0ece8e3ec2b77df0709e11de48af10 (patch) | |
tree | 85acae929a51467b042fa85f705a5d930f01d55b /ACE/ace | |
parent | 0dba79a2c64597e7dfe81ea17976231bce644036 (diff) | |
download | ATCD-50a6f9905e0ece8e3ec2b77df0709e11de48af10.tar.gz |
Mon Mar 16 19:35:53 UTC 2009 Marcel Smit <msmit@remedy.nl>
* ace/Service_Gestalt.cpp:
Applied patch attached to Bugzilla 3618.
Fixed Bugzilla 3618.
Diffstat (limited to 'ACE/ace')
-rw-r--r-- | ACE/ace/Service_Gestalt.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ACE/ace/Service_Gestalt.cpp b/ACE/ace/Service_Gestalt.cpp index 95b3989009b..8b395d88b89 100644 --- a/ACE/ace/Service_Gestalt.cpp +++ b/ACE/ace/Service_Gestalt.cpp @@ -853,8 +853,14 @@ ACE_Service_Gestalt::get_xml_svc_conf (ACE_DLL &xmldll) void * foo = xmldll.symbol (ACE_TEXT ("_ACEXML_create_XML_Svc_Conf_Object")); - ACE_XML_Svc_Conf::Factory factory = - reinterpret_cast<ACE_XML_Svc_Conf::Factory> (foo); +#if defined (ACE_OPENVMS) && (!defined (__INITIAL_POINTER_SIZE) || (__INITIAL_POINTER_SIZE < 64)) + int const temp_p = reinterpret_cast<int> (foo); +#else + intptr_t const temp_p = reinterpret_cast<intptr_t> (foo); +#endif + + ACE_XML_Svc_Conf::Factory factory = reinterpret_cast<ACE_XML_Svc_Conf::Factory> (temp_p); + if (factory == 0) ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("ACE (%P|%t) Unable to resolve factory: %p\n"), |