mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Fix stupid warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@4659 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8ad0123812
commit
5b9433f42f
4 changed files with 5 additions and 5 deletions
|
|
@ -45,7 +45,7 @@ Footer::~Footer()
|
|||
|
||||
}
|
||||
|
||||
const unsigned int Footer::size()
|
||||
unsigned int Footer::size()
|
||||
{
|
||||
return FooterPrivate::size;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Add a link
Reference in a new issue