summaryrefslogtreecommitdiff
path: root/ace/Profile_Timer.cpp
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
commit52f717194613c34fee0037e054b63021145a2a7b (patch)
tree2d416492e454133ed4cb1e3e3e5a13518f89777a /ace/Profile_Timer.cpp
parent2a03121742c4a7752f2ea214ca83a87c5b911bc9 (diff)
downloadATCD-52f717194613c34fee0037e054b63021145a2a7b.tar.gz
ChangeLogTag:Fri Feb 25 16:50:37 2000 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/Profile_Timer.cpp')
-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);