提交 a2f2a687 编写于 作者: Z zeliard 提交者: Alexis Campailla

fix wrong memset argument

上级 b3b9464b
......@@ -423,7 +423,7 @@ int rdbLoadDoubleValue(rio *rdb, double *val) {
#ifdef _WIN32
double scannedVal = 0;
int assigned = 0;
memset(buf, 128, 0);
memset(buf, 0, sizeof(buf));
#endif
if (rioRead(rdb,&len,1) == 0) return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册