mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Suppress an MSVC warning about 32bit and 64bit shift.
This commit is contained in:
parent
b6d21ce890
commit
fea7e3d4a2
@ -120,7 +120,7 @@ public:
|
||||
if(!addOne)
|
||||
return ByteVector(vint.data() + vint.size() - byteSize, byteSize);
|
||||
|
||||
ulli firstByte = (1 << (vint.size() - byteSize));
|
||||
ulli firstByte = (1ULL << (vint.size() - byteSize));
|
||||
// The most significant byte loses #bytSize bits for storing information.
|
||||
// Therefore, we might need to increase byteSize.
|
||||
if(number >= (firstByte << (8 * (byteSize - 1))) && byteSize < vint.size())
|
||||
|
Loading…
x
Reference in New Issue
Block a user