aboutsummaryrefslogtreecommitdiffhomepage
path: root/compileopts
diff options
context:
space:
mode:
authorElias Naur <[email protected]>2024-04-26 16:18:56 +0200
committerAyke <[email protected]>2024-04-27 09:52:44 +0200
commit50f700ddb58f4f920ddf3e377537ee545f26bb26 (patch)
treee970ee01675a4a88e31f02beab99c66790b192a5 /compileopts
parentf986ea84aca1420698da56667f57e69ec585530a (diff)
downloadtinygo-50f700ddb58f4f920ddf3e377537ee545f26bb26.tar.gz
tinygo-50f700ddb58f4f920ddf3e377537ee545f26bb26.zip
runtime: skip negative sleep durations in sleepTicks
sleepTicks calls machineLightSleep with the duration cast to an unsigned integer. This underflow for negative durations. Signed-off-by: Elias Naur <[email protected]>
Diffstat (limited to 'compileopts')
0 files changed, 0 insertions, 0 deletions