mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Fix VC++ specific warnings
This commit is contained in:
parent
5b2458ed66
commit
86142343ee
@ -895,8 +895,8 @@ PropertyMap MP4::Tag::setProperties(const PropertyMap &props)
|
||||
d->items[name] = MP4::Item(value);
|
||||
}
|
||||
else if(it->first == "COMPILATION") {
|
||||
bool value = it->second.front().toInt();
|
||||
d->items[name] = MP4::Item(value > 0);
|
||||
bool value = (it->second.front().toInt() != 0);
|
||||
d->items[name] = MP4::Item(value);
|
||||
}
|
||||
else {
|
||||
d->items[name] = it->second;
|
||||
|
Loading…
Reference in New Issue
Block a user