Fix some compile warnings in taglib
This commit is contained in:
parent
49e2615d14
commit
8a5d5ad952
8
3rdparty/taglib/mod/modfilebase.cpp
vendored
8
3rdparty/taglib/mod/modfilebase.cpp
vendored
@ -60,9 +60,9 @@ bool Mod::FileBase::readString(String &s, unsigned long size)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Mod::FileBase::writeByte(unsigned char byte)
|
void Mod::FileBase::writeByte(unsigned char _byte)
|
||||||
{
|
{
|
||||||
ByteVector data(1, byte);
|
ByteVector data(1, _byte);
|
||||||
writeBlock(data);
|
writeBlock(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -86,11 +86,11 @@ void Mod::FileBase::writeU32B(unsigned long number)
|
|||||||
writeBlock(ByteVector::fromUInt(number, true));
|
writeBlock(ByteVector::fromUInt(number, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Mod::FileBase::readByte(unsigned char &byte)
|
bool Mod::FileBase::readByte(unsigned char &_byte)
|
||||||
{
|
{
|
||||||
ByteVector data(readBlock(1));
|
ByteVector data(readBlock(1));
|
||||||
if(data.size() < 1) return false;
|
if(data.size() < 1) return false;
|
||||||
byte = data[0];
|
_byte = data[0];
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
3rdparty/taglib/toolkit/tfilestream.cpp
vendored
2
3rdparty/taglib/toolkit/tfilestream.cpp
vendored
@ -58,7 +58,7 @@ namespace
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
FileHandle openFile(const int fileDescriptor, bool readOnly)
|
FileHandle openFile(const int, bool)
|
||||||
{
|
{
|
||||||
return InvalidFileHandle;
|
return InvalidFileHandle;
|
||||||
}
|
}
|
||||||
|
2
3rdparty/taglib/xm/xmfile.cpp
vendored
2
3rdparty/taglib/xm/xmfile.cpp
vendored
@ -151,7 +151,7 @@ private:
|
|||||||
class ByteReader : public ValueReader<unsigned char>
|
class ByteReader : public ValueReader<unsigned char>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit ByteReader(unsigned char &byte) : ValueReader<unsigned char>(byte) {}
|
explicit ByteReader(unsigned char &_byte) : ValueReader<unsigned char>(_byte) {}
|
||||||
|
|
||||||
unsigned int read(Strawberry_TagLib::TagLib::File &file, unsigned int limit)
|
unsigned int read(Strawberry_TagLib::TagLib::File &file, unsigned int limit)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user