tag/Mask: pass 64 bit integer to constructor, prevent truncation
Commit f49d4ef4ad
changed the bit mask size to 64 bit, but I forgot
to change the constructor as well.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/2057
This commit is contained in:
parent
e380ae90eb
commit
3229da48e3
|
@ -16,7 +16,7 @@ class TagMask {
|
|||
|
||||
mask_t value;
|
||||
|
||||
explicit constexpr TagMask(uint_least32_t _value) noexcept
|
||||
explicit constexpr TagMask(mask_t _value) noexcept
|
||||
:value(_value) {}
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue