summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Log_Msg.cpp')
-rw-r--r--ace/Log_Msg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp
index d84a05bf72f..84ed0583f92 100644
--- a/ace/Log_Msg.cpp
+++ b/ace/Log_Msg.cpp
@@ -851,7 +851,7 @@ ACE_Log_Msg::log (const ASYS_TCHAR *format_str,
ACE_Log_Msg::msg_off_ = bp - this->msg_;
type = SKIP_SPRINTF;
- ACE_reinterpret_cast (PTF, va_arg (argp, long))();
+ (*va_arg (argp, PTF))();
if (ACE_BIT_ENABLED (ACE_Log_Msg::flags_, ACE_Log_Msg::SILENT))
{