mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 17:51:21 +00:00
Remove warnings and improve integer sign correctness.
This commit is contained in:
@ -1051,7 +1051,7 @@ int processMultibulkBuffer(redisClient *c) {
|
||||
qblen = sdslen(c->querybuf);
|
||||
/* Hint the sds library about the amount of bytes this string is
|
||||
* going to contain. */
|
||||
if (qblen < ll+2)
|
||||
if (qblen < (size_t)ll+2)
|
||||
c->querybuf = sdsMakeRoomFor(c->querybuf,ll+2-qblen);
|
||||
}
|
||||
c->bulklen = ll;
|
||||
|
Reference in New Issue
Block a user