mirror of
https://github.com/fluencelabs/redis
synced 2025-06-25 15:01:33 +00:00
Add casting to match printf format.
adjustOpenFilesLimit() and clusterUpdateSlotsWithConfig() that were assuming uint64_t is the same as unsigned long long, which is true probably for all the systems out there that we target, but still GCC emitted a warning since technically they are two different types.
This commit is contained in:
@ -1178,8 +1178,9 @@ void clusterUpdateSlotsConfigWith(clusterNode *sender, uint64_t senderConfigEpoc
|
||||
"I've still keys about this slot! "
|
||||
"Putting the slot in IMPORTING state. "
|
||||
"Please run the 'redis-trib fix' command.",
|
||||
j, sender->name, senderConfigEpoch,
|
||||
myself->configEpoch);
|
||||
j, sender->name,
|
||||
(unsigned long long) senderConfigEpoch,
|
||||
(unsigned long long) myself->configEpoch);
|
||||
server.cluster->importing_slots_from[j] = sender;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user