summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-10 16:09:51 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-10 16:09:51 +0000
commitb39017adade3c47e5362f21bc6d49c34ce363bd2 (patch)
treeb502da9667e265b8220a6fc12c270f0a9c26b5dd
parent20d18857b0a30f68bcd009b79807806b458d830e (diff)
downloadATCD-b39017adade3c47e5362f21bc6d49c34ce363bd2.tar.gz
ChangeLogTag: Fri Aug 10 11:06:23 2001 Chad Elliott elliott_c@ociweb.com
-rw-r--r--ChangeLog10
-rw-r--r--ChangeLogs/ChangeLog-02a10
-rw-r--r--ChangeLogs/ChangeLog-03a10
-rw-r--r--apps/drwho/CM_Client.cpp5
-rw-r--r--apps/drwho/CM_Server.cpp6
-rw-r--r--apps/drwho/server.cpp2
6 files changed, 34 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index b83d33d9eaf..bc8db19991e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Fri Aug 10 11:06:23 2001 Chad Elliott elliott_c@ociweb.com
+
+ * apps/drwho/CM_Client.cpp:
+ * apps/drwho/CM_Server.cpp:
+ * apps/drwho/server.cpp:
+
+ Changes to avoid warnings on HP-UX with aCC.
+
Thu Aug 9 16:56:05 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Hash_Map_Manager_T.i:
@@ -7,7 +15,7 @@ Thu Aug 9 16:56:05 2001 Balachandran Natarajan <bala@cs.wustl.edu>
to the liking of SunCC 4.2. Looks like we had to change a bunch
of static cast sprayed in these two files to a C style cast as
4.2 doesnt like them. Compilers like Borland handle these
- better, but not 4.2.
+ better, but not 4.2.
Thu Aug 9 11:51:10 2001 Balachandran Natarajan <bala@cs.wustl.edu>
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index b83d33d9eaf..bc8db19991e 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,11 @@
+Fri Aug 10 11:06:23 2001 Chad Elliott elliott_c@ociweb.com
+
+ * apps/drwho/CM_Client.cpp:
+ * apps/drwho/CM_Server.cpp:
+ * apps/drwho/server.cpp:
+
+ Changes to avoid warnings on HP-UX with aCC.
+
Thu Aug 9 16:56:05 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Hash_Map_Manager_T.i:
@@ -7,7 +15,7 @@ Thu Aug 9 16:56:05 2001 Balachandran Natarajan <bala@cs.wustl.edu>
to the liking of SunCC 4.2. Looks like we had to change a bunch
of static cast sprayed in these two files to a C style cast as
4.2 doesnt like them. Compilers like Borland handle these
- better, but not 4.2.
+ better, but not 4.2.
Thu Aug 9 11:51:10 2001 Balachandran Natarajan <bala@cs.wustl.edu>
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index b83d33d9eaf..bc8db19991e 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,11 @@
+Fri Aug 10 11:06:23 2001 Chad Elliott elliott_c@ociweb.com
+
+ * apps/drwho/CM_Client.cpp:
+ * apps/drwho/CM_Server.cpp:
+ * apps/drwho/server.cpp:
+
+ Changes to avoid warnings on HP-UX with aCC.
+
Thu Aug 9 16:56:05 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Hash_Map_Manager_T.i:
@@ -7,7 +15,7 @@ Thu Aug 9 16:56:05 2001 Balachandran Natarajan <bala@cs.wustl.edu>
to the liking of SunCC 4.2. Looks like we had to change a bunch
of static cast sprayed in these two files to a C style cast as
4.2 doesnt like them. Compilers like Borland handle these
- better, but not 4.2.
+ better, but not 4.2.
Thu Aug 9 11:51:10 2001 Balachandran Natarajan <bala@cs.wustl.edu>
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;
}
diff --git a/apps/drwho/CM_Server.cpp b/apps/drwho/CM_Server.cpp
index 647e74fede8..0cf6b9b9df2 100644
--- a/apps/drwho/CM_Server.cpp
+++ b/apps/drwho/CM_Server.cpp
@@ -25,7 +25,7 @@ CM_Server::open (short port_number)
// This call fails if an rflo daemon is already running.
if (ACE_OS::bind (this->sokfd_,
- (sockaddr *) &this->sin_,
+ ACE_reinterpret_cast (sockaddr *, &this->sin_),
sizeof this->sin_) < 0)
return -1;
@@ -51,7 +51,7 @@ CM_Server::receive (int)
this->recv_packet_,
UDP_PACKET_SIZE,
0,
- (sockaddr *) &this->sin_,
+ ACE_reinterpret_cast (sockaddr *, &this->sin_),
(int *) &sin_len);
if (n == -1)
return -1;
@@ -85,7 +85,7 @@ CM_Server::send (void)
this->send_packet_,
packet_length,
0,
- (sockaddr *) &this->sin_,
+ ACE_reinterpret_cast (sockaddr *, &this->sin_),
sizeof this->sin_) < 0)
return -1;
diff --git a/apps/drwho/server.cpp b/apps/drwho/server.cpp
index f25815fb7b1..41f005354c7 100644
--- a/apps/drwho/server.cpp
+++ b/apps/drwho/server.cpp
@@ -57,7 +57,7 @@ started_by_inetd (void)
int size = sizeof sin;
return ACE_OS::getsockname (0,
- (sockaddr *) &sin,
+ ACE_reinterpret_cast (sockaddr *, &sin),
&size) == 0;
}