Index: OpenSceneGraph/trunk/src/osgPlugins/Inventor/ConvertToInventor.cpp
===================================================================
--- OpenSceneGraph/trunk/src/osgPlugins/Inventor/ConvertToInventor.cpp (revision 9414)
+++ OpenSceneGraph/trunk/src/osgPlugins/Inventor/ConvertToInventor.cpp (revision 11032)
@@ -237,5 +237,5 @@
     for (i=0, z=0; i<num; i++)
       if (z == numItemsUntilMinusOne) {
-        a[i] = -1;
+        a[i] = ivType(-1);
         z = 0;
       } else {
@@ -1921,5 +1921,5 @@
       // Note: use SoTransform instead of SoRotation because SoRotation is not supported by VRML1.
       SoTransform *transform = new SoTransform;
-      transform->rotation = SbRotation(SbVec3f(1.f,0.f,0.f), -M_PI_2);
+      transform->rotation = SbRotation(SbVec3f(1.f,0.f,0.f), float(-M_PI_2));
 
       SoSeparator *separator = new SoSeparator;
@@ -2048,2 +2048,3 @@
   popInventorState();
 }
+
