diff options
Diffstat (limited to 'src/common/socket.c')
-rw-r--r-- | src/common/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c index 2558e83ac..8fba86e0e 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -1210,7 +1210,7 @@ int RFIFOSKIP(int fd,int len) s = session[fd];
- if (s->rdata_size-s->rdata_pos-len<0) {
+ if ((signed int)(s->rdata_size-s->rdata_pos-len)<0) {
//fprintf(stderr,"too many skip\n");
//exit(1);
//better than a COMPLETE program abort // TEST! :)
|