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
bdbdb02e
Commit
bdbdb02e
authored
Nov 09, 2011
by
antirez
Browse files
Fixed bug breaking rdbSaveMillisecondTime() in 32 bit systems. Thanks to @anydot (Přemysl Hrubý)
parent
52d46855
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rdb.c
View file @
bdbdb02e
...
...
@@ -36,7 +36,7 @@ time_t rdbLoadTime(rio *rdb) {
return (time_t)t32;
}
int rdbSaveMillisecondTime(rio *rdb,
time_t
t) {
int rdbSaveMillisecondTime(rio *rdb,
long long
t) {
int64_t t64 = (int64_t) t;
return rdbWriteRaw(rdb,&t64,8);
}
...
...
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