summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ace/Parse_Node.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/ace/Parse_Node.cpp b/ace/Parse_Node.cpp
index e4c2111000c..8a979d2a723 100644
--- a/ace/Parse_Node.cpp
+++ b/ace/Parse_Node.cpp
@@ -522,11 +522,9 @@ ACE_Function_Node::symbol (ACE_Service_Object_Exterminator *gobbler)
char *function_name = ACE_const_cast (char *,
this->function_name_);
- func =
- ACE_non_function_ptr_to_function_ptr_cast
- (void *(*)(ACE_Service_Object_Exterminator *),
+ func = (void *(*)(ACE_Service_Object_Exterminator *))
ACE_OS::dlsym ((ACE_SHLIB_HANDLE) this->handle (),
- ASYS_WIDE_STRING (function_name)));
+ ASYS_WIDE_STRING (function_name));
if (func == 0)
{