summaryrefslogtreecommitdiff
path: root/ACE/ace/FILE_IO.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2007-02-21 22:29:49 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2007-02-21 22:29:49 +0000
commitf11224da696a623a28510aafb10532ca999be51b (patch)
tree63afe56dbcdb765415669eeb73315cf45b03b9ca /ACE/ace/FILE_IO.cpp
parentcc970acff36ed652b93a32c8074558c310349658 (diff)
downloadATCD-f11224da696a623a28510aafb10532ca999be51b.tar.gz
ChangeLogTag:Wed Feb 21 19:27:14 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/ace/FILE_IO.cpp')
-rw-r--r--ACE/ace/FILE_IO.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/FILE_IO.cpp b/ACE/ace/FILE_IO.cpp
index 3197591265e..bf0c41bf418 100644
--- a/ACE/ace/FILE_IO.cpp
+++ b/ACE/ace/FILE_IO.cpp
@@ -46,7 +46,7 @@ ACE_FILE_IO::send (size_t n, ...) const
{
ACE_TRACE ("ACE_FILE_IO::send");
va_list argp;
- int total_tuples = ACE_Utils::Truncate<int> (n / 2);
+ int total_tuples = ACE_Utils::truncate_cast<int> (n / 2);
iovec *iovp = 0;
#if defined (ACE_HAS_ALLOCA)
iovp = (iovec *) alloca (total_tuples * sizeof (iovec));
@@ -85,7 +85,7 @@ ACE_FILE_IO::recv (size_t n, ...) const
{
ACE_TRACE ("ACE_FILE_IO::recv");
va_list argp;
- int total_tuples = ACE_Utils::Truncate<int> (n / 2);
+ int total_tuples = ACE_Utils::truncate_cast<int> (n / 2);
iovec *iovp = 0;
#if defined (ACE_HAS_ALLOCA)
iovp = (iovec *) alloca (total_tuples * sizeof (iovec));