提交 09e60946 编写于 作者: weixin_48148422's avatar weixin_48148422

fix bug in hex integer parse

上级 62f9a90f
......@@ -226,7 +226,7 @@ int64_t strnatoi(char *num, int32_t len) {
} else {
return 0;
}
ret = dig * base;
ret += dig * base;
}
} else {
for (i = len - 1; i >= 0; --i, base *= 10) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册