From 4d41f5305849bf237860acb0a7fc328edd795037 Mon Sep 17 00:00:00 2001 From: cas Date: Mon, 17 Jul 2000 18:15:09 +0000 Subject: [PATCH] No comments --- src/CPPJini/CPPJini.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ); -- 2.39.5