mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Remove warning when printing redisBuildId().
This commit is contained in:
parent
e4682c82e3
commit
f7dac639a9
@ -1985,7 +1985,7 @@ sds genRedisInfoString(char *section) {
|
||||
REDIS_VERSION,
|
||||
redisGitSHA1(),
|
||||
strtol(redisGitDirty(),NULL,10) > 0,
|
||||
redisBuildId(),
|
||||
(unsigned long long) redisBuildId(),
|
||||
mode,
|
||||
name.sysname, name.release, name.machine,
|
||||
server.arch_bits,
|
||||
@ -2559,7 +2559,7 @@ void version() {
|
||||
atoi(redisGitDirty()) > 0,
|
||||
ZMALLOC_LIB,
|
||||
sizeof(long) == 4 ? 32 : 64,
|
||||
redisBuildId());
|
||||
(unsigned long long) redisBuildId());
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user