gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/libbase utility.h


From: Markus Gothe
Subject: [Gnash-commit] gnash/libbase utility.h
Date: Wed, 29 Aug 2007 23:17:59 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/08/29 23:17:59

Modified files:
        libbase        : utility.h 

Log message:
        Forgot to declare 'x'x as a double

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&r1=1.32&r2=1.33

Patches:
Index: utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- utility.h   29 Aug 2007 22:20:10 -0000      1.32
+++ utility.h   29 Aug 2007 23:17:59 -0000      1.33
@@ -119,7 +119,7 @@
 #endif
 inline int     frnd(float f) { return (int)(f + 0.5f); }       // replace with 
inline asm if desired
 #ifndef HAVE_TRUNC
-inline double trunc(x) ( x < 0 ?  -(std::floor(-x)) : std::floor(x) )
+inline double trunc(double x) ( x < 0 ?  -(std::floor(-x)) : std::floor(x) )
 #endif
 
 // Handy macro to quiet compiler warnings about unused parameters/variables.




reply via email to

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