falkTX / los

Libre Octave Studio
GNU General Public License v2.0
20 stars 5 forks source link

abs() ambiguous in pcscale.cpp #45

Closed jonaseberle closed 3 years ago

jonaseberle commented 5 years ago

Just a little hack to get it compiling.

I got

    .... long list of abs() overloads - we want abs(long)

and the same on line 570, too.

It is fixed by changing the line to this:

            int diff = ((long) event.tick() + part->tick()) - x;

I am happy to provide versions and more info if required.

jonaseberle commented 5 years ago

and in midievent/EventCanvas.cpp line 270 + 271, too.

I am on KDE neon wit gcc 7.3.0, btw.

Thank you for making this avaiiable to all. Just had a look around as I am looking for software seqencer alternatives.