SongPlaylistItem: Use static_cast

This commit is contained in:
Jonas Kvinge 2024-04-23 17:00:10 +02:00
parent 227f5e5176
commit 24c8d06d41
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ SongPlaylistItem::SongPlaylistItem(const Song::Source source) : PlaylistItem(sou
SongPlaylistItem::SongPlaylistItem(const Song &song) : PlaylistItem(song.source()), song_(song) {}
bool SongPlaylistItem::InitFromQuery(const SqlRow &query) {
song_.InitFromQuery(query, false, Song::kRowIdColumns.count() * 3);
song_.InitFromQuery(query, false, static_cast<int>(Song::kRowIdColumns.count()) * 3);
return true;
}