1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-21 05:31:13 +01:00

Got rid of most warnings and errors for windows build

This commit is contained in:
clayton.otey@gmail.com
2010-06-08 01:05:10 +00:00
parent 299c327a71
commit 60faec3b24
10 changed files with 93 additions and 248 deletions

View File

@@ -111,7 +111,7 @@ void track :: endTrack(bool bTail)
{
end = back()->time;
if(bTail) {
this->fall = min(1.5,.25 + back()->y / point[point.size()-2]->y);
this->fall = min(1.5f,.25f + back()->y / point[point.size()-2]->y);
tailEnd = 1;
end++;
trackpoint *f = new trackpoint(back());
@@ -298,7 +298,6 @@ long track :: size()
}
track :: ~track() {
static long i = 0;
if(precursor) precursor->descendant = NULL;
if(descendant) descendant->precursor = NULL;
for(vector<tpoint*>::iterator i = point.begin();