summaryrefslogtreecommitdiff
path: root/netsvcs/lib/Token_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs/lib/Token_Handler.cpp')
-rw-r--r--netsvcs/lib/Token_Handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netsvcs/lib/Token_Handler.cpp b/netsvcs/lib/Token_Handler.cpp
index 45cb9a22c04..9fedf86b066 100644
--- a/netsvcs/lib/Token_Handler.cpp
+++ b/netsvcs/lib/Token_Handler.cpp
@@ -658,7 +658,7 @@ ACE_Token_Handler::recv_request (void)
length - sizeof (ACE_UINT32));
// Subtract off the size of the part we skipped over...
- if (n != (length - sizeof (ACE_UINT32)))
+ if (n != (length - (ssize_t) sizeof (ACE_UINT32)))
{
ACE_ERROR ((LM_ERROR, "%p expected %d, got %d\n",
"invalid length", length, n));