diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-02-26 19:21:00 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-02-26 19:21:00 +0000 |
commit | adde8bf984ca1bfab625e2e4fe83e5f8788307a7 (patch) | |
tree | 1be291066ce397733f991e8dfebb8fc0e6c0c9d8 /ace/SOCK_IO.cpp | |
parent | 62d300a61e4c3881d79c78b9d751b98a9ad0607c (diff) | |
download | ATCD-adde8bf984ca1bfab625e2e4fe83e5f8788307a7.tar.gz |
ChangelogTag: Sun Feb 26 19:20:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/SOCK_IO.cpp')
-rw-r--r-- | ace/SOCK_IO.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/SOCK_IO.cpp b/ace/SOCK_IO.cpp index 74d9b5c13e1..b3a1d5de90b 100644 --- a/ace/SOCK_IO.cpp +++ b/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_Truncate<size_t> (n / 2); + int total_tuples = ACE_Utils::Truncate<size_t> (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_Truncate<size_t> (n / 2); + int total_tuples = ACE_Utils::Truncate<size_t> (n / 2); iovec *iovp; #if defined (ACE_HAS_ALLOCA) iovp = (iovec *) alloca (total_tuples * sizeof (iovec)); @@ -162,7 +162,7 @@ ACE_SOCK_IO::recv (size_t n, ...) const va_start (argp, n); - for (size_t i = 0; i < total_tuples; i++) + for (int i = 0; i < total_tuples; i++) { iovp[i].iov_base = va_arg (argp, char *); iovp[i].iov_len = va_arg (argp, int); |