Skip to content

Commit cd89be3

Browse files
committed
Fix for C4267 warning
1 parent fb6bdee commit cd89be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/ov_interface.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ void OVInferRequest::SetTensor(const std::string& name, OVTensorPtr& blob) {
233233
}
234234

235235
uint32_t OVInferRequest::GetNumInputs() {
236-
return ovInfReq.get_compiled_model().inputs().size();
236+
return static_cast<uint32_t>(ovInfReq.get_compiled_model().inputs().size());
237237
}
238238

239239
void OVInferRequest::StartAsync() {

0 commit comments

Comments
 (0)