]> git.draconx.ca Git - dxcommon.git/commitdiff
copysym: Improve compatibility with old compilers.
authorNick Bowler <nbowler@draconx.ca>
Sat, 6 Jan 2024 21:51:25 +0000 (16:51 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 7 Jan 2024 01:46:42 +0000 (20:46 -0500)
Some C89 compilers with 32-bit longs won't automatically widen integer
constants to (unsigned) long long in order to represent values that
don't fit in an (unsigned) long, even if those compilers otherwise
support 64-bit long long.

The "ll" and "ull" suffixes seem to get things working.


No differences found