summaryrefslogtreecommitdiff
path: root/ace/OS_NS_sys_uio.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2005-02-15 23:07:37 +0000
committerSteve Huston <shuston@riverace.com>2005-02-15 23:07:37 +0000
commit34104cf059eeafbd1382ac7f9315e0c9a4afac2e (patch)
tree929cad045679537bffe42e0311c7d1ac90539359 /ace/OS_NS_sys_uio.cpp
parent2cf1b9573c6f58e31ad17124620d11875cf8dab9 (diff)
downloadATCD-PROACTOR_FIXES_STEVE_JAN05.tar.gz
Commit merged-in changes from mainlinePROACTOR_FIXES_STEVE_JAN05
Diffstat (limited to 'ace/OS_NS_sys_uio.cpp')
-rw-r--r--ace/OS_NS_sys_uio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/OS_NS_sys_uio.cpp b/ace/OS_NS_sys_uio.cpp
index 7c52d91bab7..5b7563dc7fd 100644
--- a/ace/OS_NS_sys_uio.cpp
+++ b/ace/OS_NS_sys_uio.cpp
@@ -33,7 +33,7 @@ ACE_OS::readv_emulation (ACE_HANDLE handle,
int i;
for (i = 0; i < n; ++i)
- if (ACE_static_cast (int, iov[i].iov_len) < 0)
+ if (static_cast<int> (iov[i].iov_len) < 0)
return -1;
else
length += iov[i].iov_len;
@@ -117,7 +117,7 @@ ACE_OS::writev_emulation (ACE_HANDLE handle, const iovec *iov, int n)
// This avoids a subtle problem where "holes" in the data
// stream would occur if partial sends of a given buffer in
// the iovec array occured.
- if (ACE_static_cast (size_t, result) < iov[i].iov_len)
+ if (static_cast<size_t> (result) < iov[i].iov_len)
break;
}
}