clippy: apply and fix new lints

This commit is contained in:
2025-08-17 16:35:54 +02:00
parent 61a41c7122
commit 3b19cb8b18
6 changed files with 17 additions and 12 deletions

View File

@@ -58,6 +58,7 @@ impl From<EtiGame> for Game {
max_players: eti_game.game_maxplayers,
version: eti_game.game_version,
genre: eti_game.genre_de,
#[allow(clippy::cast_sign_loss, clippy::cast_possible_truncation)]
size: (eti_game.game_size * 1024.0 * 1024.0 * 1024.0) as u64,
thumbnail: None,
installed: false,