Module: synfig/synfig
Branch: genete_width_outline
Commit: 3f0912dcd26bd38c5c1c38e9242bc2ebed2ccf4d
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig/synfig;a=commit;h=3f0912dcd26bd38c5c1c38e9242bc2ebed2ccf4d

Author: Carlos Lopez <[email protected]>
Date:   Sun Jan 23 18:37:17 2011 +0100

Avoid C++ warning

---

 synfig-core/src/synfig/widthpoint.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/src/synfig/widthpoint.cpp 
b/synfig-core/src/synfig/widthpoint.cpp
index a876ca6..4ca95cc 100644
--- a/synfig-core/src/synfig/widthpoint.cpp
+++ b/synfig-core/src/synfig/widthpoint.cpp
@@ -72,7 +72,7 @@ WidthPoint::get_position()const
 Real
 WidthPoint::get_norm_position()const
 {
-       Real ret_pos(fabs(fmod(position_, 1.0f)));
+       Real ret_pos(fabs(fmod(position_, Real(1.0f))));
        if(fabs(position_) >= 1.0 && ret_pos==0.0)
                return 1.0;
        return ret_pos;


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to