Index: /OpenSceneGraph/trunk/src/osgAnimation/Animation.cpp
===================================================================
--- /OpenSceneGraph/trunk/src/osgAnimation/Animation.cpp (revision 9151)
+++ /OpenSceneGraph/trunk/src/osgAnimation/Animation.cpp (revision 9569)
@@ -113,5 +113,5 @@
             t = _startTime;
         else if (t > _duration)
-            t = fmodf(t, _duration);
+            t = fmod(t, (float)_duration);
         //      std::cout << "t " << t << " duration " << _duration << std::endl;
         break;
@@ -122,5 +122,5 @@
         {
             int tt = (int) (t / _duration);
-            t = fmodf(t, _duration);
+            t = fmod(t, (float)_duration);
             if (tt%2)
                 t = _duration - t;
Index: /OpenSceneGraph/trunk/src/osgWidget/Input.cpp
===================================================================
--- /OpenSceneGraph/trunk/src/osgWidget/Input.cpp (revision 9450)
+++ /OpenSceneGraph/trunk/src/osgWidget/Input.cpp (revision 9569)
@@ -176,5 +176,5 @@
         osgText::Font*        font  = const_cast<osgText::Font*>(_text->getFont());
         osgText::Font::Glyph* glyph = font->getGlyph(fr, *i);
-        unsigned int          d     = abs(glyph->getHorizontalBearing().y());
+        unsigned int          d     = abs((int)glyph->getHorizontalBearing().y());
 
         if(d > descent) descent = d;
