diff options
author | Steve Huston <shuston@riverace.com> | 2000-02-25 21:54:12 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2000-02-25 21:54:12 +0000 |
commit | 937b53ea78637c4f693b58e4721b81e45e523312 (patch) | |
tree | 2d416492e454133ed4cb1e3e3e5a13518f89777a | |
parent | aae55da1653bd41f24e658c13dc8c9ed50a7066b (diff) | |
download | ATCD-937b53ea78637c4f693b58e4721b81e45e523312.tar.gz |
ChangeLogTag:Fri Feb 25 16:50:37 2000 Steve Huston <shuston@riverace.com>
-rw-r--r-- | ace/Profile_Timer.cpp | 2 |
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); |