mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- unsigned % signed and unsigned / signed is no longer allowed without explicit casts, except for const denominators. #2928
This commit is contained in:
@@ -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)!!;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user