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
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit