- unsigned % signed and unsigned / signed is no longer allowed without explicit casts, except for const denominators. #2928

This commit is contained in:
Christoffer Lerno
2026-02-11 23:18:08 +01:00
parent 202349d88f
commit 9b52be9ba6
6 changed files with 29 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ fn void div() @test
{
t.create(fn int(void* arg) {
thread::sleep_ms(5);
atomic::fetch_div(&a, 8);
atomic::fetch_div(&a, 8U);
return 0;
}, null)!!;
}