diff options
Diffstat (limited to 'apps/drwho/CM_Server.cpp')
-rw-r--r-- | apps/drwho/CM_Server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/drwho/CM_Server.cpp b/apps/drwho/CM_Server.cpp index 16a7bcfe07b..96d5385c790 100644 --- a/apps/drwho/CM_Server.cpp +++ b/apps/drwho/CM_Server.cpp @@ -28,7 +28,7 @@ CM_Server::open (short port_number) // This call fails if an rflo daemon is already running. if (ACE_OS::bind (this->sokfd_, - ACE_reinterpret_cast (sockaddr *, &this->sin_), + reinterpret_cast<sockaddr *> (&this->sin_), sizeof this->sin_) < 0) return -1; @@ -54,7 +54,7 @@ CM_Server::receive (int) this->recv_packet_, UDP_PACKET_SIZE, 0, - ACE_reinterpret_cast (sockaddr *, &this->sin_), + reinterpret_cast<sockaddr *> (&this->sin_), (int *) &sin_len); if (n == -1) return -1; @@ -88,7 +88,7 @@ CM_Server::send (void) this->send_packet_, packet_length, 0, - ACE_reinterpret_cast (sockaddr *, &this->sin_), + reinterpret_cast<sockaddr *> (&this->sin_), sizeof this->sin_) < 0) return -1; |