summaryrefslogtreecommitdiff
path: root/examples/Reactor/Misc/pingpong.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-18 02:43:59 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-18 02:43:59 +0000
commit42f94d54b80f581308d2f60c68e1f68829c5d311 (patch)
tree5c6feeb66a5d0f2f20d1f7d2a76bb2f542072a17 /examples/Reactor/Misc/pingpong.cpp
parent700b477d463c1e194b3a8fe34543545de1f45ff5 (diff)
downloadATCD-42f94d54b80f581308d2f60c68e1f68829c5d311.tar.gz
(handle_input): cast buf_len to ssize_t to avoid signed/unsigned comparison
Diffstat (limited to 'examples/Reactor/Misc/pingpong.cpp')
-rw-r--r--examples/Reactor/Misc/pingpong.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Reactor/Misc/pingpong.cpp b/examples/Reactor/Misc/pingpong.cpp
index 7154b9ea430..666a19c5dda 100644
--- a/examples/Reactor/Misc/pingpong.cpp
+++ b/examples/Reactor/Misc/pingpong.cpp
@@ -89,7 +89,7 @@ Ping_Pong::handle_input (ACE_HANDLE)
ssize_t n = ACE::recv (this->handle_, this->buf_, this->buflen_);
- if (n != this->buflen_)
+ if (n != (ssize_t) this->buflen_)
ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) reading [%d] %p\n", handle_, "read"), -1);
ACE_DEBUG ((LM_DEBUG,