diff options
-rw-r--r-- | ChangeLog-97b | 3 | ||||
-rw-r--r-- | examples/Connection/blocking/SPIPE-connector.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog-97b b/ChangeLog-97b index 3fc0009c550..6bc0f96d2d1 100644 --- a/ChangeLog-97b +++ b/ChangeLog-97b @@ -1,5 +1,8 @@ Thu Nov 06 22:13:01 1997 <irfan@TWOSTEP> + * examples/Connection/blocking/SPIPE-connector.cpp (init): Fixed + odd looking typecast. + * ace: Changed the comparison &local_sap == &ACE_Addr::sap_any to local_sap == ACE_Addr::sap_any. Thanks to Steve Coy <stevec@magna.com.au> for pointing out that the default diff --git a/examples/Connection/blocking/SPIPE-connector.cpp b/examples/Connection/blocking/SPIPE-connector.cpp index 8c05d458a39..aa82efb2dc3 100644 --- a/examples/Connection/blocking/SPIPE-connector.cpp +++ b/examples/Connection/blocking/SPIPE-connector.cpp @@ -129,7 +129,7 @@ IPC_Client::init (int argc, char *argv[]) if (this->connect (ph, ACE_SPIPE_Addr (rendezvous_), ACE_Synch_Options::defaults, - *((ACE_SPIPE_Addr *) &ACE_Addr::sap_any), + (ACE_SPIPE_Addr &) ACE_Addr::sap_any, 0, O_RDWR | FILE_FLAG_OVERLAPPED, 0) == -1) |