diff options
Diffstat (limited to 'apps/drwho/CM_Client.cpp')
-rw-r--r-- | apps/drwho/CM_Client.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/drwho/CM_Client.cpp b/apps/drwho/CM_Client.cpp index f236d29b5a1..8bdc9cec179 100644 --- a/apps/drwho/CM_Client.cpp +++ b/apps/drwho/CM_Client.cpp @@ -52,7 +52,8 @@ CM_Client::receive (int timeout) this->recv_packet_, UDP_PACKET_SIZE, 0, - (sockaddr *) &this->sin_, + ACE_reinterpret_cast (sockaddr *, + &this->sin_), &sin_len); if (n < 0) return -1; @@ -115,7 +116,7 @@ CM_Client::send (void) this->send_packet_, packet_length, 0, - (sockaddr *) &this->sin_, + ACE_reinterpret_cast (sockaddr *, &this->sin_), sizeof this->sin_) < 0) return -1; } |