diff --git a/alib2cli/src/common/ResultInterpret.h b/alib2cli/src/common/ResultInterpret.h index 528bdab91d80a25f8af009d778c6e75f09c5602b..fea7f077ffd7dfdcb4ecf9a2493e88b28e15ccc5 100644 --- a/alib2cli/src/common/ResultInterpret.h +++ b/alib2cli/src/common/ResultInterpret.h @@ -15,7 +15,7 @@ public: return ptr1->getValue ( ); std::shared_ptr < abstraction::ValueHolderInterface < unsigned > > ptr2 = std::dynamic_pointer_cast < abstraction::ValueHolderInterface < unsigned > > ( result ); if ( ptr2 ) - return ptr2->getValue ( ); + return static_cast < int > ( ptr2->getValue ( ) ); std::shared_ptr < abstraction::ValueHolderInterface < bool > > ptr3 = std::dynamic_pointer_cast < abstraction::ValueHolderInterface < bool > > ( result ); if ( ptr3 ) return static_cast < int > ( ! ptr3->getValue ( ) );