Fix stupid warnings.

git-svn-id: svn://localhost/ardour2/branches/3.0@4659 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-25 19:35:32 +00:00
parent 8ad0123812
commit 5b9433f42f
4 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@ Footer::~Footer()
}
const unsigned int Footer::size()
unsigned int Footer::size()
{
return FooterPrivate::size;
}

View file

@ -62,7 +62,7 @@ namespace TagLib {
/*!
* Returns the size of the footer. Presently this is always 10 bytes.
*/
static const unsigned int size();
static unsigned int size();
/*!
* Renders the footer based on the data in \a header.

View file

@ -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);
}

View file

@ -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)