From f11224da696a623a28510aafb10532ca999be51b Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Wed, 21 Feb 2007 22:29:49 +0000 Subject: ChangeLogTag:Wed Feb 21 19:27:14 UTC 2007 Ossama Othman --- ACE/ace/SOCK_IO.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ACE/ace/SOCK_IO.cpp') diff --git a/ACE/ace/SOCK_IO.cpp b/ACE/ace/SOCK_IO.cpp index b3a1d5de90b..f7530aaf9f0 100644 --- a/ACE/ace/SOCK_IO.cpp +++ b/ACE/ace/SOCK_IO.cpp @@ -110,7 +110,7 @@ ACE_SOCK_IO::send (size_t n, ...) const ACE_TRACE ("ACE_SOCK_IO::send"); va_list argp; - int total_tuples = ACE_Utils::Truncate (n / 2); + int total_tuples = ACE_Utils::truncate_cast (n / 2); iovec *iovp = 0; #if defined (ACE_HAS_ALLOCA) iovp = (iovec *) alloca (total_tuples * sizeof (iovec)); @@ -150,7 +150,7 @@ ACE_SOCK_IO::recv (size_t n, ...) const ACE_TRACE ("ACE_SOCK_IO::recv"); va_list argp; - int total_tuples = ACE_Utils::Truncate (n / 2); + int total_tuples = ACE_Utils::truncate_cast (n / 2); iovec *iovp; #if defined (ACE_HAS_ALLOCA) iovp = (iovec *) alloca (total_tuples * sizeof (iovec)); -- cgit v1.2.1