Skip to content

Commit

Permalink
Fix for C4267 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-intel committed Feb 7, 2025
1 parent fb6bdee commit cd89be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/openvino/ov_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint32_t>(ovInfReq.get_compiled_model().inputs().size());
}

void OVInferRequest::StartAsync() {
Expand Down

0 comments on commit cd89be3

Please sign in to comment.