gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog server/matrix.cpp


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog server/matrix.cpp
Date: Sat, 24 May 2008 21:42:36 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     08/05/24 21:42:36

Modified files:
        .              : ChangeLog 
        server         : matrix.cpp 

Log message:
        Use std::max instead of fmax, to fix build on BSD and friends.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6699&r2=1.6700
http://cvs.savannah.gnu.org/viewcvs/gnash/server/matrix.cpp?cvsroot=gnash&r1=1.29&r2=1.30

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6699
retrieving revision 1.6700
diff -u -b -r1.6699 -r1.6700
--- ChangeLog   24 May 2008 13:41:09 -0000      1.6699
+++ ChangeLog   24 May 2008 21:42:35 -0000      1.6700
@@ -1,3 +1,8 @@
+2008-05-24 Bastiaan Jacques <address@hidden>
+
+       * server/matrix.cpp: Use std::max instead of fmax to fix build on BSD
+       and friends.
+
 2008-05-24 Benjamin Wolsey <address@hidden>
 
        * server/vm/action.{cpp,h}: drop unused call_method{1,2,3,4} and

Index: server/matrix.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/matrix.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- server/matrix.cpp   18 May 2008 20:36:12 -0000      1.29
+++ server/matrix.cpp   24 May 2008 21:42:36 -0000      1.30
@@ -393,7 +393,7 @@
        //float basis1_length2 = m_[1][0] * m_[1][0] + m_[1][1] * m_[1][1];
        float   basis1_length2 = m_[0][1] * m_[0][1] + m_[1][1] * m_[1][1];
 
-       float   max_length2 = fmax(basis0_length2, basis1_length2);
+       float   max_length2 = std::max(basis0_length2, basis1_length2);
        return sqrtf(max_length2);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]