Skip to content

rts: Fix integer width in TICK_BUMP_BY

Ben Gamari requested to merge wip/T18783 into master

Previously TICK_BUMP_BY was defined as

#define TICK_BUMP_BY(ctr,n) CLong[ctr] = CLong[ctr] + n

Yet the tickers themselves were defined as StgInts. This happened to work out correctly on Linux, where CLong is 64-bits. However, it failed on Windows, where CLong is 32-bits, resulting in #18782.

Fixes #18783 (closed).

Merge request reports