summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2003-03-06 03:02:24 +0000
committerSteve Huston <shuston@riverace.com>2003-03-06 03:02:24 +0000
commit73619330880465ffff80306863cf7b5797203ccf (patch)
tree0994dfcbfe7592c5390b4a672dd882b74ee98753 /examples
parent68a60aa600fdad3cac73f58855b667dbb9314567 (diff)
downloadATCD-73619330880465ffff80306863cf7b5797203ccf.tar.gz
ChangeLogTag:Wed Feb 19 10:41:20 2003 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp3
1 files changed, 2 insertions, 1 deletions
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);