Hello,

I saw, that kdenlive fails to build on armel, because of double type use
with qBound(), which does not work!

I have attached a patch. Please mail me, if you have comitted it.

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatth...@debian.org
        patr...@linux-dev.org

Comment:
Always if we think we are right,
we were maybe wrong.
*/
diff -Naur kdenlive-0.7.7.1+svn4541.orig//src/kis_cubic_curve.cpp kdenlive-0.7.7.1+svn4541/src/kis_cubic_curve.cpp
--- kdenlive-0.7.7.1+svn4541.orig//src/kis_cubic_curve.cpp	2010-05-24 16:30:26.000000000 +0200
+++ kdenlive-0.7.7.1+svn4541/src/kis_cubic_curve.cpp	2010-07-08 18:46:13.000000000 +0200
@@ -293,7 +293,7 @@
      */
     x = qBound(spline.begin(), x, spline.end());
     qreal y = spline.getValue(x);
-    return qBound(0.0, y, 1.0);
+    return qBound((qreal)0.0, y, (qreal)1.0);
 }
 
 template<typename _T_, typename _T2_>

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to