From: cas Date: Mon, 17 Jul 2000 18:15:09 +0000 (+0000) Subject: No comments X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=4d41f5305849bf237860acb0a7fc328edd795037;p=occt-wok.git No comments --- diff --git a/src/CPPJini/CPPJini.cxx b/src/CPPJini/CPPJini.cxx index 3a27cf2..75edff1 100755 --- a/src/CPPJini/CPPJini.cxx +++ b/src/CPPJini/CPPJini.cxx @@ -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 );