Merge pull request #6653 from oranagra/client_tracking_flag

Add ULL suffix to CLIENT_TRACKING flag to prevent sign extension
This commit is contained in:
Salvatore Sanfilippo 2019-12-09 10:41:14 +01:00 committed by GitHub
commit 14045adf92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. */