mirror of
https://github.com/fluencelabs/redis
synced 2025-06-25 23:11:33 +00:00
Revert "use long long instead of size_t make it more safe"
This reverts commit 2c75f2cf1a
.
After further analysis, it is very unlikely that we'll raise the
string size limit to > 512MB, and at the same time such big strings
will be used in 32 bit systems.
Better to revert to size_t so that 32 bit processors will not be
forced to use a 64 bit counter in normal operations, that is currently
completely useless.
This commit is contained in:
@ -984,7 +984,7 @@ long long mstime(void);
|
||||
void getRandomHexChars(char *p, unsigned int len);
|
||||
uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l);
|
||||
void exitFromChild(int retcode);
|
||||
long long popcount(void *s, long count);
|
||||
size_t popcount(void *s, long count);
|
||||
void redisSetProcTitle(char *title);
|
||||
|
||||
/* networking.c -- Networking and Client related operations */
|
||||
|
Reference in New Issue
Block a user