diff --git a/onnxruntime/core/providers/openvino/ov_interface.cc b/onnxruntime/core/providers/openvino/ov_interface.cc index 4c656bceff550..d8d0dbfec8c31 100644 --- a/onnxruntime/core/providers/openvino/ov_interface.cc +++ b/onnxruntime/core/providers/openvino/ov_interface.cc @@ -233,7 +233,7 @@ void OVInferRequest::SetTensor(const std::string& name, OVTensorPtr& blob) { } uint32_t OVInferRequest::GetNumInputs() { - return ovInfReq.get_compiled_model().inputs().size(); + return static_cast(ovInfReq.get_compiled_model().inputs().size()); } void OVInferRequest::StartAsync() {