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
b148513f
Commit
b148513f
authored
Feb 27, 2013
by
antirez
Browse files
Remove warning when printing redisBuildId().
parent
5e9e9699
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
b148513f
...
...
@@ -1920,7 +1920,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,
...
...
@@ -2483,7 +2483,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