WIP: add missing default case

This commit is contained in:
ktkk 2025-12-01 16:29:28 +00:00
parent ce18267ed6
commit 1a0e6cd0b4

View file

@ -60,6 +60,8 @@ fn updatePosition(
var mod = @mod(signed_position, signed_upper_bound);
if (signed_position < 0) mod += 1;
position.* = @intCast(mod);
} else {
position.* = @intCast(signed_position);
}
}