diff options
author | Steve Huston <shuston@riverace.com> | 2003-03-06 03:02:24 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2003-03-06 03:02:24 +0000 |
commit | 582d0990b743ae3f11434b2337ad570102fe342b (patch) | |
tree | 0994dfcbfe7592c5390b4a672dd882b74ee98753 | |
parent | 361170e5a44740de254060b54c75dce2e4b4f057 (diff) | |
download | ATCD-582d0990b743ae3f11434b2337ad570102fe342b.tar.gz |
ChangeLogTag:Wed Feb 19 10:41:20 2003 Steve Huston <shuston@riverace.com>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 1c287bb3139..194dc59cf21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -885,6 +885,13 @@ Thu Feb 20 09:23:51 2003 Ossama Othman <ossama@uci.edu> ACE_SSL_SOCK_{Acceptor,Connector} classes. They are unnecessary. +Wed Feb 19 10:41:20 2003 Steve Huston <shuston@riverace.com> + + * examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp: + In run_worker(), use ACE_reinterpret_cast, not ACE_static_cast, + to convert an int to an ACE_HANDLE. Thanks to Vince Mounts + <vince@mounts.cc> for reporting this. + Tue Feb 11 17:14:56 2003 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu> * ace/TTY_IO.cpp: Fixed several problems with DTR enabling. Thanks to diff --git a/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp b/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp index 8b5ab6388e2..813e88d1314 100644 --- a/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp +++ b/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp @@ -145,7 +145,8 @@ int Process_Per_Connection_Logging_Server::run_worker (int, char *argv[]) { int client_handle_i = atoi (argv[2]); - ACE_HANDLE client_handle = ACE_static_cast (ACE_HANDLE, client_handle_i); + ACE_HANDLE client_handle = + ACE_reinterpret_cast (ACE_HANDLE, client_handle_i); ACE_SOCK_Stream client (client_handle); handle_data (&client); |