提交 bdbdb02e 编写于 作者: A antirez

Fixed bug breaking rdbSaveMillisecondTime() in 32 bit systems. Thanks to @anydot (Přemysl Hrubý)

上级 52d46855
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册