gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server/asobj Date.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash/server/asobj Date.cpp
Date: Tue, 27 Feb 2007 23:47:25 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/02/27 23:47:25

Modified files:
        server/asobj   : Date.cpp 

Log message:
        Let's static_cast it also to const float.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Date.cpp?cvsroot=gnash&r1=1.27&r2=1.28

Patches:
Index: Date.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Date.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- Date.cpp    27 Feb 2007 23:42:26 -0000      1.27
+++ Date.cpp    27 Feb 2007 23:47:25 -0000      1.28
@@ -101,7 +101,7 @@
 #endif
 
 #ifndef NAN
-       #define NAN (0.0/0.0)
+       #define NAN static_cast<const float>(0.0/0.0)
 #endif
 
 // Declaration for replacement timezone functions




reply via email to

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