summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2000-02-25 22:00:54 +0000
committerSteve Huston <shuston@riverace.com>2000-02-25 22:00:54 +0000
commitc550a3192174cd4575dff6ee2b5d2b2b963e4020 (patch)
tree65db99a5b31298d3e337fe09bd27e084bfd478e0
parent937b53ea78637c4f693b58e4721b81e45e523312 (diff)
downloadATCD-c550a3192174cd4575dff6ee2b5d2b2b963e4020.tar.gz
ChangeLogTag:Fri Feb 25 16:50:37 2000 Steve Huston <shuston@riverace.com>
-rw-r--r--ace/Log_Msg.cpp3
1 files changed, 2 insertions, 1 deletions
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.
{