Add ULL suffix to CLIENT_TRACKING flag to prevent sign extension
the code in: c->flags &= ~(CLIENT_TRACKING|CLIENT_TRACKING_BROKEN_REDIR); will do sign extension and turn on all the high 31 bits no damage so far since we don't have any yet
This commit is contained in:
parent
7e24e219fd
commit
5941730c37
@ -239,7 +239,7 @@ typedef long long ustime_t; /* microsecond time type. */
|
|||||||
we return single threaded that the
|
we return single threaded that the
|
||||||
client has already pending commands
|
client has already pending commands
|
||||||
to be executed. */
|
to be executed. */
|
||||||
#define CLIENT_TRACKING (1<<31) /* Client enabled keys tracking in order to
|
#define CLIENT_TRACKING (1ULL<<31) /* Client enabled keys tracking in order to
|
||||||
perform client side caching. */
|
perform client side caching. */
|
||||||
#define CLIENT_TRACKING_BROKEN_REDIR (1ULL<<32) /* Target client is invalid. */
|
#define CLIENT_TRACKING_BROKEN_REDIR (1ULL<<32) /* Target client is invalid. */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user