diff --git a/source/SoundStretch/WavFile.cpp b/source/SoundStretch/WavFile.cpp index 459e2ed..b21e72f 100644 --- a/source/SoundStretch/WavFile.cpp +++ b/source/SoundStretch/WavFile.cpp @@ -450,7 +450,7 @@ int WavInFile::read(float *buffer, int maxElems) int WavInFile::eof() const { // 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)); } diff --git a/source/SoundTouch/FIRFilter.cpp b/source/SoundTouch/FIRFilter.cpp index 473ca07..27b4362 100644 --- a/source/SoundTouch/FIRFilter.cpp +++ b/source/SoundTouch/FIRFilter.cpp @@ -283,6 +283,7 @@ void * FIRFilter::operator new(size_t) FIRFilter * FIRFilter::newInstance() { + __attribute__((unused)) uint uExtensions; uExtensions = detectCPUextensions(); diff --git a/source/SoundTouch/TDStretch.cpp b/source/SoundTouch/TDStretch.cpp index 157f0e4..231f72c 100644 --- a/source/SoundTouch/TDStretch.cpp +++ b/source/SoundTouch/TDStretch.cpp @@ -750,6 +750,7 @@ void * TDStretch::operator new(size_t) TDStretch * TDStretch::newInstance() { + __attribute__((unused)) uint uExtensions; uExtensions = detectCPUextensions();