mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Fix possible loss of data warning by MSVC
This commit is contained in:
parent
040b069957
commit
d2bd56c519
@ -241,7 +241,7 @@ ID3v1::GenreMap ID3v1::genreMap()
|
||||
{
|
||||
GenreMap m;
|
||||
for(size_t i = 0; i < genres.size(); i++) {
|
||||
m.insert(genres[i], i);
|
||||
m.insert(genres[i], static_cast<int>(i));
|
||||
}
|
||||
|
||||
return m;
|
||||
|
Loading…
x
Reference in New Issue
Block a user