mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Fix -Wsign-compare
This commit is contained in:
parent
9970a243ec
commit
a3673809cf
3 changed files with 5 additions and 5 deletions
|
|
@ -28,7 +28,7 @@ YinUtil::slowDifference(const double *in, double *yinBuffer, const size_t yinBuf
|
|||
double delta ;
|
||||
int startPoint = 0;
|
||||
int endPoint = 0;
|
||||
for (int i = 1; i < yinBufferSize; ++i) {
|
||||
for (size_t i = 1; i < yinBufferSize; ++i) {
|
||||
yinBuffer[i] = 0;
|
||||
startPoint = yinBufferSize/2 - i/2;
|
||||
endPoint = startPoint + yinBufferSize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue