Remove unnecessary casting

This commit is contained in:
julianbraha 2024-09-03 12:35:39 +01:00 • committed by Victoria Brekenfeld
parent 48ae9a2a33
commit 52280e9823
6 changed files with 14 additions and 14 deletions

View file

@ -254,7 +254,7 @@ impl Common {
.outputs()
.map(|o| o.current_scale().integer_scale())
.max()
.unwrap_or(1) as i32
.unwrap_or(1)
} else {
1
};