]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Mon, 17 Jul 2000 18:15:09 +0000 (18:15 +0000)
committercas <cas@opencascade.com>
Mon, 17 Jul 2000 18:15:09 +0000 (18:15 +0000)
src/CPPJini/CPPJini.cxx

index 3a27cf21fcb987ed696e808f9f469e6ae51c9567..75edff18dc6bc54ff76261b7f34f1388219d4162 100755 (executable)
@@ -175,7 +175,7 @@ Standard_Boolean CPPJini_Defined (
    cltName = new TCollection_HAsciiString (
                   s_CltInfo.Value (  sIndices.Value ( 1 )  ) -> Name ()
                  );
-   aType   = ( CPPJini_ExtractionType )sModes.Value ( 1 );
+   aType   = ( CPPJini_ExtractionType ) (int) sModes.Value ( 1 );
    retVal  = Standard_True;
 
   break;
@@ -198,7 +198,7 @@ Standard_Boolean CPPJini_Defined (
        s_CltInfo.Prepend ( ci );
        fDefined = Standard_True;
        cltName = new TCollection_HAsciiString (  ci -> Name ()  );
-       aType = ( CPPJini_ExtractionType )sModes.Value ( i );
+       aType = ( CPPJini_ExtractionType ) (int) sModes.Value ( i );
 
       } else {
 
@@ -231,7 +231,7 @@ Standard_Boolean CPPJini_Defined (
 
      ci      = s_CltInfo.Value ( index );
      cltName = new TCollection_HAsciiString (  ci -> Name ()  );
-     aType   = ( CPPJini_ExtractionType )sModes.Value ( j );
+     aType   = ( CPPJini_ExtractionType ) (int) sModes.Value ( j );
      s_CltInfo.Remove  ( index );
      s_CltInfo.Prepend ( ci    );
 
@@ -262,7 +262,7 @@ Standard_Boolean CPPJini_Defined (
 
     ci      = s_CltInfo.Value ( index );
     cltName = new TCollection_HAsciiString (  ci -> Name ()  );
-    aType   = ( CPPJini_ExtractionType )sModes.Value ( j );
+    aType   = ( CPPJini_ExtractionType ) (int) sModes.Value ( j );
     s_CltInfo.Remove  ( index );
     s_CltInfo.Prepend ( ci    );