Bug fix: A long long value used as a test expression ignores the upper 32 bits at runtime (Dave Dodge)
This commit is contained in:
parent
3b8cd565be
commit
38d2e8b9d8
1 changed files with 2 additions and 1 deletions
|
@ -600,7 +600,8 @@ int gtst(int inv, int t)
|
|||
gsym(vtop->c.i);
|
||||
}
|
||||
} else {
|
||||
if (is_float(vtop->type.t)) {
|
||||
if (is_float(vtop->type.t) ||
|
||||
(vtop->type.t & VT_BTYPE) == VT_LLONG) {
|
||||
vpushi(0);
|
||||
gen_op(TOK_NE);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue