summaryrefslogtreecommitdiff
path: root/source/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/client/client.c')
-rw-r--r--source/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index e023530cb5a..32bbbae8cd2 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -843,7 +843,7 @@ else
{
unsigned int offset = datap - converter;
- if( offset < 0 || offset >= rdrcnt )
+ if( offset >= rdrcnt )
{
DEBUG(1,("bad char ptr: datap=%u, converter=%u, rdata=%u, rdrcnt=%d>", datap, converter, (unsigned)rdata, rdrcnt));
return "<ERROR>";