summaryrefslogtreecommitdiff
path: root/examples/Connection
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-31 01:02:12 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-31 01:02:12 +0000
commit507d4dbdcd0f1233a1e74e5288e3a855fc06677a (patch)
treed5533595dea8884e43bdbc846da550d27435047d /examples/Connection
parent49c2ca6e5d9a11a6a5f98bd829a21fe7b34d45a1 (diff)
downloadATCD-507d4dbdcd0f1233a1e74e5288e3a855fc06677a.tar.gz
ChangeLogTag:Thu Jul 31 00:49:18 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'examples/Connection')
-rw-r--r--examples/Connection/blocking/SPIPE-acceptor.cpp4
-rw-r--r--examples/Connection/blocking/SPIPE-connector.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/Connection/blocking/SPIPE-acceptor.cpp b/examples/Connection/blocking/SPIPE-acceptor.cpp
index 367b800c210..b2e97b55ea3 100644
--- a/examples/Connection/blocking/SPIPE-acceptor.cpp
+++ b/examples/Connection/blocking/SPIPE-acceptor.cpp
@@ -71,7 +71,7 @@ IPC_Server::~IPC_Server (void)
}
int
-IPC_Server::handle_signal (int signum,
+IPC_Server::handle_signal (int,
siginfo_t *,
ucontext_t *)
{
@@ -132,7 +132,7 @@ IPC_Server::parse_args (int argc, char *argv[])
case 'r':
ACE_OS::strncpy (rendezvous_,
ACE_TEXT_CHAR_TO_TCHAR (get_opt.opt_arg ()),
- sizeof rendezvous_ / sizeof ACE_TCHAR);
+ sizeof (rendezvous_) / sizeof (ACE_TCHAR));
break;
case 't':
n_threads_ = ACE_OS::atoi (get_opt.opt_arg ());
diff --git a/examples/Connection/blocking/SPIPE-connector.cpp b/examples/Connection/blocking/SPIPE-connector.cpp
index 7ac378fb739..3303aca95b6 100644
--- a/examples/Connection/blocking/SPIPE-connector.cpp
+++ b/examples/Connection/blocking/SPIPE-connector.cpp
@@ -201,7 +201,7 @@ IPC_Client::parse_args (int argc, char *argv[])
case 'r':
ACE_OS::strncpy (rendezvous_,
ACE_TEXT_CHAR_TO_TCHAR (get_opt.opt_arg ()),
- sizeof rendezvous_ / sizeof ACE_TCHAR);
+ sizeof (rendezvous_) / sizeof (ACE_TCHAR));
break;
case 'i':
iterations_ = ACE_OS::atoi (get_opt.opt_arg ());