mirror of
https://github.com/fluencelabs/redis
synced 2025-05-01 13:32:13 +00:00
Remove warning when printing redisBuildId().
This commit is contained in:
parent
5e9e96999f
commit
b148513fec
@ -1920,7 +1920,7 @@ sds genRedisInfoString(char *section) {
|
|||||||
REDIS_VERSION,
|
REDIS_VERSION,
|
||||||
redisGitSHA1(),
|
redisGitSHA1(),
|
||||||
strtol(redisGitDirty(),NULL,10) > 0,
|
strtol(redisGitDirty(),NULL,10) > 0,
|
||||||
redisBuildId(),
|
(unsigned long long) redisBuildId(),
|
||||||
mode,
|
mode,
|
||||||
name.sysname, name.release, name.machine,
|
name.sysname, name.release, name.machine,
|
||||||
server.arch_bits,
|
server.arch_bits,
|
||||||
@ -2483,7 +2483,7 @@ void version() {
|
|||||||
atoi(redisGitDirty()) > 0,
|
atoi(redisGitDirty()) > 0,
|
||||||
ZMALLOC_LIB,
|
ZMALLOC_LIB,
|
||||||
sizeof(long) == 4 ? 32 : 64,
|
sizeof(long) == 4 ? 32 : 64,
|
||||||
redisBuildId());
|
(unsigned long long) redisBuildId());
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user