SongPlaylistItem: Use static_cast
This commit is contained in:
parent
227f5e5176
commit
24c8d06d41
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue