summaryrefslogtreecommitdiff
path: root/examples/APG/Reactor/Client.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-01-21 02:19:20 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-01-21 02:19:20 +0000
commit7061929d7bb9646b0d90dec0f72d418c5a866c4e (patch)
treec0bb0eb13dfd8efbb8228ba705798e4742d786d7 /examples/APG/Reactor/Client.cpp
parent0079ef6190c9e047256a485eff2799e8cc10ef02 (diff)
downloadATCD-7061929d7bb9646b0d90dec0f72d418c5a866c4e.tar.gz
ChangeLogTag:Thu Jan 20 18:18:00 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'examples/APG/Reactor/Client.cpp')
-rw-r--r--examples/APG/Reactor/Client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/APG/Reactor/Client.cpp b/examples/APG/Reactor/Client.cpp
index b32e2b7f9d8..520b17f7ef1 100644
--- a/examples/APG/Reactor/Client.cpp
+++ b/examples/APG/Reactor/Client.cpp
@@ -32,7 +32,7 @@ int Client::handle_input (ACE_HANDLE)
if (recv_cnt > 0)
{
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("%.*C"),
- ACE_static_cast (int, recv_cnt),
+ static_cast<int> (recv_cnt),
buf));
return 0;
}
@@ -60,7 +60,7 @@ int Client::handle_timeout(const ACE_Time_Value &, const void *)
int nbytes = ACE_OS::sprintf
(mb->wr_ptr (), "Iteration %d\n", this->iterations_);
ACE_ASSERT (nbytes > 0);
- mb->wr_ptr (ACE_static_cast (size_t, nbytes));
+ mb->wr_ptr (static_cast<size_t> (nbytes));
this->putq (mb);
return 0;
}
@@ -80,7 +80,7 @@ int Client::handle_output (ACE_HANDLE)
ACE_TEXT ("(%P|%t) %p\n"),
ACE_TEXT ("send")));
else
- mb->rd_ptr (ACE_static_cast (size_t, send_cnt));
+ mb->rd_ptr (static_cast<size_t> (send_cnt));
if (mb->length () > 0)
{
this->ungetq (mb);