diff --git a/modules/dnn/src/ie_ngraph.cpp b/modules/dnn/src/ie_ngraph.cpp index c646c1fe3a..ba881a8023 100644 --- a/modules/dnn/src/ie_ngraph.cpp +++ b/modules/dnn/src/ie_ngraph.cpp @@ -77,7 +77,7 @@ class NgraphCustomOp: public ngraph::op::Op { public: const ngraph::NodeTypeInfo& get_type_info() const override { - static constexpr ngraph::NodeTypeInfo type_info{kOpenCVLayersType, 0}; + static constexpr ngraph::NodeTypeInfo type_info{kOpenCVLayersType, static_cast(0)}; return type_info; }