From c550a3192174cd4575dff6ee2b5d2b2b963e4020 Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Fri, 25 Feb 2000 22:00:54 +0000 Subject: ChangeLogTag:Fri Feb 25 16:50:37 2000 Steve Huston --- ace/Log_Msg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp index 85fb60a586a..d2c157d54ae 100644 --- a/ace/Log_Msg.cpp +++ b/ace/Log_Msg.cpp @@ -858,7 +858,8 @@ ACE_Log_Msg::log (const ASYS_TCHAR *format_str, break; case 'P': // Format the current process id. type = SKIP_SPRINTF; - ACE_OS::sprintf (bp, ASYS_TEXT ("%d"), this->getpid ()); + ACE_OS::sprintf (bp, ASYS_TEXT ("%d"), + ACE_static_cast (int, this->getpid ())); break; case 'p': // Format the string assocated with the errno value. { -- cgit v1.2.1