From 21e2d06dd70fae684695b01ccc60ee0e7e381971 Mon Sep 17 00:00:00 2001 From: Agatha Lovelace Date: Thu, 22 Sep 2022 21:20:59 +0200 Subject: [PATCH] Fix crash with unsupported integer types --- src/backend/model/library.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/model/library.rs b/src/backend/model/library.rs index 33275b0..e3fbad4 100644 --- a/src/backend/model/library.rs +++ b/src/backend/model/library.rs @@ -10,11 +10,11 @@ pub struct Model { pub path: String, pub filename: String, pub source_id: i32, - pub hash: u64, + pub hash: u32, pub artist: Option, pub name: Option, pub album: Option, - pub duration: u64, + pub duration: u32, pub genres: Option, pub track: Option, pub year: Option,