mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-08 20:12:27 +01:00
Resolve gcc compiler warnings in ARM environment
This commit is contained in:
parent
cc24adfc6d
commit
b477936716
@ -450,7 +450,7 @@ int WavInFile::read(float *buffer, int maxElems)
|
|||||||
int WavInFile::eof() const
|
int WavInFile::eof() const
|
||||||
{
|
{
|
||||||
// return true if all data has been read or file eof has reached
|
// return true if all data has been read or file eof has reached
|
||||||
return (dataRead == header.data.data_len || feof(fptr));
|
return ((uint)dataRead == header.data.data_len || feof(fptr));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -283,6 +283,7 @@ void * FIRFilter::operator new(size_t)
|
|||||||
|
|
||||||
FIRFilter * FIRFilter::newInstance()
|
FIRFilter * FIRFilter::newInstance()
|
||||||
{
|
{
|
||||||
|
__attribute__((unused))
|
||||||
uint uExtensions;
|
uint uExtensions;
|
||||||
|
|
||||||
uExtensions = detectCPUextensions();
|
uExtensions = detectCPUextensions();
|
||||||
|
@ -750,6 +750,7 @@ void * TDStretch::operator new(size_t)
|
|||||||
|
|
||||||
TDStretch * TDStretch::newInstance()
|
TDStretch * TDStretch::newInstance()
|
||||||
{
|
{
|
||||||
|
__attribute__((unused))
|
||||||
uint uExtensions;
|
uint uExtensions;
|
||||||
|
|
||||||
uExtensions = detectCPUextensions();
|
uExtensions = detectCPUextensions();
|
||||||
|
Loading…
Reference in New Issue
Block a user