Author: post
Date: 2010-12-04 21:49:52 +0100 (Sat, 04 Dec 2010)
New Revision: 3656
Modified:
trunk/src/rs-store.c
Log:
Use int cast to round - round not available everywhere.
Modified: trunk/src/rs-store.c
===================================================================
--- trunk/src/rs-store.c 2010-12-04 20:48:50 UTC (rev 3655)
+++ trunk/src/rs-store.c 2010-12-04 20:49:52 UTC (rev 3656)
@@ -2646,7 +2646,7 @@
cr = cairo_create(surface2);
cairo_scale(cr, scale, scale);
- cairo_image_surface_blur(surface2, round(4.0*scale));
+ cairo_image_surface_blur(surface2, (int)(4.0*scale+0.5));
cairo_translate(cr, bb_width/2, bb_height/2);
#ifdef EXPERIMENTAL
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit