mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-18 11:39:31 +01:00
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;
|
||||
}
|
||||
|
||||
void Mod::FileBase::writeByte(unsigned char byte)
|
||||
void Mod::FileBase::writeByte(unsigned char _byte)
|
||||
{
|
||||
ByteVector data(1, byte);
|
||||
ByteVector data(1, _byte);
|
||||
writeBlock(data);
|
||||
}
|
||||
|
||||
@ -86,11 +86,11 @@ void Mod::FileBase::writeU32B(unsigned long number)
|
||||
writeBlock(ByteVector::fromUInt(number, true));
|
||||
}
|
||||
|
||||
bool Mod::FileBase::readByte(unsigned char &byte)
|
||||
bool Mod::FileBase::readByte(unsigned char &_byte)
|
||||
{
|
||||
ByteVector data(readBlock(1));
|
||||
if(data.size() < 1) return false;
|
||||
byte = data[0];
|
||||
_byte = data[0];
|
||||
return true;
|
||||
}
|
||||
|
||||
|
2
3rdparty/taglib/toolkit/tfilestream.cpp
vendored
2
3rdparty/taglib/toolkit/tfilestream.cpp
vendored
@ -58,7 +58,7 @@ namespace
|
||||
#endif
|
||||
}
|
||||
|
||||
FileHandle openFile(const int fileDescriptor, bool readOnly)
|
||||
FileHandle openFile(const int, bool)
|
||||
{
|
||||
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>
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user