Commit 422107ec authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

T10518: Ensure literal has 64-bit type

Otherwise we get a C-- lint error due to mismatched RHS and
variable types.
parent 8bf2d8f6
foo() {
bits64 a;
a = 0x10000000000000000; // overflows 64 bits
a = (0x10000000000000000 :: bits64); // overflows 64 bits
return (a);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment