babl r315 - in trunk: . extensions



Author: jheller
Date: Wed May 21 22:31:39 2008
New Revision: 315
URL: http://svn.gnome.org/viewvc/babl?rev=315&view=rev

Log:
2008-05-22  Jan Heller  <jheller svn gnome org>

        * extensions/util.h: changed fallback macro to have the
        same return type as rint().


Modified:
   trunk/ChangeLog
   trunk/extensions/util.h

Modified: trunk/extensions/util.h
==============================================================================
--- trunk/extensions/util.h	(original)
+++ trunk/extensions/util.h	Wed May 21 22:31:39 2008
@@ -25,7 +25,7 @@
 #include "config.h"
 
 #ifndef HAVE_RINT
-# define rint(f)  ((long) floor (((double) f) + 0.5))
+# define rint(f)  (floor (((double) (f)) + 0.5))
 #endif
 
 



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