mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 05:00:26 -04:00
Fix implicit long to int conversions
This commit is contained in:
parent
98961813dc
commit
549bca3382
@ -77,7 +77,7 @@ void Mod::FileBase::writeU16L(unsigned short number)
|
||||
|
||||
void Mod::FileBase::writeU32L(unsigned long number)
|
||||
{
|
||||
writeBlock(ByteVector::fromUInt(number, false));
|
||||
writeBlock(ByteVector::fromUInt(static_cast<unsigned int>(number), false));
|
||||
}
|
||||
|
||||
void Mod::FileBase::writeU16B(unsigned short number)
|
||||
@ -87,7 +87,7 @@ void Mod::FileBase::writeU16B(unsigned short number)
|
||||
|
||||
void Mod::FileBase::writeU32B(unsigned long number)
|
||||
{
|
||||
writeBlock(ByteVector::fromUInt(number, true));
|
||||
writeBlock(ByteVector::fromUInt(static_cast<unsigned int>(number), true));
|
||||
}
|
||||
|
||||
bool Mod::FileBase::readByte(unsigned char &byte)
|
||||
|
Loading…
Reference in New Issue
Block a user