mirror of
https://github.com/taglib/taglib.git
synced 2025-06-03 09:08:09 -04:00
fix warnings
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@892447 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
e2c76396dd
commit
e989d7ad1d
@ -147,12 +147,12 @@ namespace TagLib {
|
||||
public:
|
||||
ByteVectorMirror(const ByteVector &source) : v(source) {}
|
||||
|
||||
const char operator[](int index) const
|
||||
char operator[](int index) const
|
||||
{
|
||||
return v[v.size() - index - 1];
|
||||
}
|
||||
|
||||
const char at(int index) const
|
||||
char at(int index) const
|
||||
{
|
||||
return v.at(v.size() - index - 1);
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ namespace TagLib {
|
||||
|
||||
inline unsigned short byteSwap(unsigned short x)
|
||||
{
|
||||
return ((x) >> 8) & 0xff | ((x) & 0xff) << 8;
|
||||
return (((x) >> 8) & 0xff) | (((x) & 0xff) << 8);
|
||||
}
|
||||
|
||||
inline unsigned short combine(unsigned char c1, unsigned char c2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user