0023346: MSVC++ Error C2664: 'AIS_InteractiveObject::PolygonOffsets': conversion...
[occt.git] / samples / mfc / standard / 04_Viewer3d / src / OffsetDlg.cpp
index 51f6aa7..34b9966 100755 (executable)
@@ -187,12 +187,12 @@ void COffsetDlg::SetOffsets(Standard_Real theFactor, Standard_Real theUnits)
 void COffsetDlg::UpdateValues()
 {
        Standard_Integer aOffsetMode;
-       Standard_Real aBoxFactor = 0;
-       Standard_Real aCylFactor = 0;
-       Standard_Real aSphereFactor = 0;
-       Standard_Real aCylUnits = 0;
-       Standard_Real aSphereUnits = 0;
-       Standard_Real aBoxUnits = 0;
+       Standard_ShortReal aBoxFactor = 0;
+       Standard_ShortReal aCylFactor = 0;
+       Standard_ShortReal aSphereFactor = 0;
+       Standard_ShortReal aCylUnits = 0;
+       Standard_ShortReal aSphereUnits = 0;
+       Standard_ShortReal aBoxUnits = 0;
 
        Handle(AIS_InteractiveContext) aAISContext = myDoc->GetAISContext();