summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2000-02-25 21:54:12 +0000
committerSteve Huston <shuston@riverace.com>2000-02-25 21:54:12 +0000
commit937b53ea78637c4f693b58e4721b81e45e523312 (patch)
tree2d416492e454133ed4cb1e3e3e5a13518f89777a
parentaae55da1653bd41f24e658c13dc8c9ed50a7066b (diff)
downloadATCD-937b53ea78637c4f693b58e4721b81e45e523312.tar.gz
ChangeLogTag:Fri Feb 25 16:50:37 2000 Steve Huston <shuston@riverace.com>
-rw-r--r--ace/Profile_Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Profile_Timer.cpp b/ace/Profile_Timer.cpp
index bdce3c50b46..0c617e5e815 100644
--- a/ace/Profile_Timer.cpp
+++ b/ace/Profile_Timer.cpp
@@ -31,7 +31,7 @@ ACE_Profile_Timer::ACE_Profile_Timer (void)
# if defined (ACE_HAS_PRUSAGE_T)
ACE_OS::memset (&this->last_usage_, 0, sizeof this->last_usage_);
char buf[20];
- ACE_OS::sprintf (buf, "/proc/%d", ACE_OS::getpid ());
+ ACE_OS::sprintf (buf, "/proc/%d", ACE_static_cast (int, ACE_OS::getpid ()));
if ((this->proc_handle_ = ACE_OS::open (buf, O_RDONLY, 0)) == -1)
ACE_OS::perror (buf);