提交 4f4fbf77 编写于 作者: B bellard

64 bit support


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2019 c046a42c-6fe2-441c-8c8c-71466251a162
上级 26a76461
......@@ -1584,8 +1584,11 @@ static target_long expr_unary(void)
n = 0;
break;
default:
/* XXX: 64 bit version */
#if TARGET_LONG_BITS == 64
n = strtoull(pch, &p, 0);
#else
n = strtoul(pch, &p, 0);
#endif
if (pch == p) {
expr_error("invalid char in expression");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册