summaryrefslogtreecommitdiff
path: root/ace/SPIPE_Stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SPIPE_Stream.cpp')
-rw-r--r--ace/SPIPE_Stream.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/SPIPE_Stream.cpp b/ace/SPIPE_Stream.cpp
index 7717db32ca5..76968d15e56 100644
--- a/ace/SPIPE_Stream.cpp
+++ b/ace/SPIPE_Stream.cpp
@@ -35,8 +35,8 @@ ssize_t
ACE_SPIPE_Stream::send (size_t n, ...) const
{
// ACE_TRACE ("ACE_SPIPE_Stream::send");
- va_list argp;
- int total_tuples = ACE_static_cast (int, (n / 2));
+ va_list argp;
+ int total_tuples = static_cast<int> (n / 2);
iovec *iovp;
#if defined (ACE_HAS_ALLOCA)
iovp = (iovec *) alloca (total_tuples * sizeof (iovec));
@@ -72,8 +72,8 @@ ssize_t
ACE_SPIPE_Stream::recv (size_t n, ...) const
{
ACE_TRACE ("ACE_SPIPE_Stream::recv");
- va_list argp;
- int total_tuples = ACE_static_cast (int, (n / 2));
+ va_list argp;
+ int total_tuples = static_cast<int> (n / 2);
iovec *iovp;
#if defined (ACE_HAS_ALLOCA)
iovp = (iovec *) alloca (total_tuples * sizeof (iovec));