diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-05-05 21:16:28 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-05-05 21:16:28 +0000 |
commit | adc6a560af058e98aeb7f752bcb07b90259fda3a (patch) | |
tree | ae0c901f25d09e86445be7783f6071190d823ed2 /ace/Asynch_Acceptor.cpp | |
parent | cc911e5d700d2d00980b987ae2fc925387ad506c (diff) | |
download | ATCD-adc6a560af058e98aeb7f752bcb07b90259fda3a.tar.gz |
ChangeLogTag:Wed May 5 14:14:53 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/Asynch_Acceptor.cpp')
-rw-r--r-- | ace/Asynch_Acceptor.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ace/Asynch_Acceptor.cpp b/ace/Asynch_Acceptor.cpp index bd2ef107a17..3d7c5c0a60b 100644 --- a/ace/Asynch_Acceptor.cpp +++ b/ace/Asynch_Acceptor.cpp @@ -122,8 +122,7 @@ ACE_Asynch_Acceptor<HANDLER>::open (const ACE_INET_Addr &address, // Bind to the specified port. if (ACE_OS::bind (this->listen_handle_, - ACE_reinterpret_cast (sockaddr *, - address.get_addr ()), + reinterpret_cast<sockaddr *> (address.get_addr ()), address.get_size ()) == -1) { ACE_Errno_Guard g (errno); @@ -383,17 +382,17 @@ ACE_Asynch_Acceptor<HANDLER>::parse_address (const int remote_size = 0; ::GetAcceptExSockaddrs (message_block.rd_ptr (), - ACE_static_cast (DWORD, this->bytes_to_read_), - ACE_static_cast (DWORD, this->address_size ()), - ACE_static_cast (DWORD, this->address_size ()), + static_cast<DWORD> (this->bytes_to_read_), + static_cast<DWORD> (this->address_size ()), + static_cast<DWORD> (this->address_size ()), &local_addr, &local_size, &remote_addr, &remote_size); - local_address.set (ACE_reinterpret_cast (sockaddr_in *, local_addr), + local_address.set (reinterpret_cast<sockaddr_in *> (local_addr), local_size); - remote_address.set (ACE_reinterpret_cast (sockaddr_in *, remote_addr), + remote_address.set (reinterpret_cast<sockaddr_in *> (remote_addr), remote_size); #else // just in case |