Another small set of compiler warnings I get is from seq.cpp, lines 933. and
937.
/Users/jimka/MuseScore/mscore/seq.cpp:933:27: Absolute value function
'fabsf' given an argument of type 'qreal' (aka 'double') but has parameter
of type 'float' which may cause truncation of value
/Users/jimka/MuseScore/mscore/seq.cpp:937:27: Absolute value function
'fabsf' given an argument of type 'qreal' (aka 'double') but has parameter
of type 'float' which may cause truncation of value

The suggestion is to use std:abs instead of fabsf.

      for (unsigned i = 0; i < n; ++i) {
            qreal val = *p;
            lv = qMax(lv, fabsf(val));
            *p++ = val;

            val = *p;
            rv = qMax(lv, fabsf(val));
            *p++ = val;
            }



--
View this message in context: 
http://dev-list.musescore.org/review-of-compiler-warnings-tp7579292p7579326.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to