Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f7dac639
Commit
f7dac639
authored
Feb 27, 2013
by
antirez
Browse files
Remove warning when printing redisBuildId().
parent
e4682c82
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
f7dac639
...
...
@@ -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);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment