summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/Connection/misc/Connection_Handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Connection/misc/Connection_Handler.cpp b/examples/Connection/misc/Connection_Handler.cpp
index af2efb2ed5f..861c45bb088 100644
--- a/examples/Connection/misc/Connection_Handler.cpp
+++ b/examples/Connection/misc/Connection_Handler.cpp
@@ -141,7 +141,7 @@ Connection_Handler::handle_input (ACE_HANDLE)
this->get_handle ()),
-1);
default:
- if (((unsigned int) buf[0]) == EOF)
+ if (((int) buf[0]) == (int) EOF)
ACE_ERROR_RETURN ((LM_ERROR,
"(%P|%t) closing log daemon (fd = %d)\n",
this->get_handle ()),