summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/SSL/SSL_Asynch_Stream_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SSL/SSL_Asynch_Stream_Test.cpp b/tests/SSL/SSL_Asynch_Stream_Test.cpp
index 386dcc7917c..9174262b29c 100644
--- a/tests/SSL/SSL_Asynch_Stream_Test.cpp
+++ b/tests/SSL/SSL_Asynch_Stream_Test.cpp
@@ -312,7 +312,7 @@ Server_Handler::handle_read_stream
delete this;
return;
}
-
+
// Scan through the received data for the expected string. There may be
// multiples and/or partials. Count up how many arrive before the connection
// is closed.
@@ -417,7 +417,7 @@ start_clients (void *arg)
}
Client_Handler *new_handler = 0;
- ACE_NEW_RETURN (new_handler, Client_Handler, -1);
+ ACE_NEW_RETURN (new_handler, Client_Handler, (void *) -1);
if (new_handler->open (stream.get_handle ()) != 0)
delete new_handler;
stream.set_handle (ACE_INVALID_HANDLE);