Fix crash with unsupported integer types

This commit is contained in:
Agatha Lovelace 2022-09-22 21:20:59 +02:00
parent 6f8ef695cd
commit 21e2d06dd7
Signed by: sorceress
GPG Key ID: 11BBCFC65FC9F401
1 changed files with 2 additions and 2 deletions

View File

@ -10,11 +10,11 @@ pub struct Model {
pub path: String, pub path: String,
pub filename: String, pub filename: String,
pub source_id: i32, pub source_id: i32,
pub hash: u64, pub hash: u32,
pub artist: Option<String>, pub artist: Option<String>,
pub name: Option<String>, pub name: Option<String>,
pub album: Option<String>, pub album: Option<String>,
pub duration: u64, pub duration: u32,
pub genres: Option<String>, pub genres: Option<String>,
pub track: Option<i32>, pub track: Option<i32>,
pub year: Option<i32>, pub year: Option<i32>,