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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user