sys: Fix clippy lints, run cargo fmt

This commit is contained in:
FreezyLemon
2024-04-28 19:07:16 +02:00
committed by Josh Holmer
parent a4e4aedc13
commit 40b7016177
2 changed files with 7 additions and 8 deletions

View File

@ -17,7 +17,7 @@ pub unsafe fn av_cmp_q(a: AVRational, b: AVRational) -> c_int {
} else if a.num != 0 && b.num != 0 {
((i64::from(a.num) >> 31) - (i64::from(b.num) >> 31)) as c_int
} else {
c_int::min_value()
c_int::MIN
}
}