1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 08:38:39 +02:00

more use of size_t

This commit is contained in:
Paul Licameli 2017-02-22 18:24:02 -05:00
parent 12a78f9fae
commit 9ddb5bb1f3
4 changed files with 4 additions and 4 deletions

View File

@ -868,7 +868,7 @@ int Envelope::Move(double when, double value)
}
int Envelope::GetNumberOfPoints() const
size_t Envelope::GetNumberOfPoints() const
{
return mEnv.size();
}

View File

@ -179,7 +179,7 @@ class Envelope final : public XMLTagHandler {
void Insert(int point, const EnvPoint &p);
/** \brief Return number of points */
int GetNumberOfPoints() const;
size_t GetNumberOfPoints() const;
/** \brief Accessor for points */
const EnvPoint &operator[] (int index) const

View File

@ -37,7 +37,7 @@
#include "sndfile.h"
void ComputeLegacySummaryInfo(const wxFileName &fileName,
int summaryLen,
size_t summaryLen,
sampleFormat format,
SummaryInfo *info,
bool noRMS,bool Silent,

View File

@ -17,7 +17,7 @@
#include "../BlockFile.h"
void ComputeLegacySummaryInfo(const wxFileName &fileName,
int summaryLen,
size_t summaryLen,
sampleFormat format,
SummaryInfo *info,
bool noRMS,bool Silent,