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 f3b6c56 commit e43cdb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ std::string ParsePrecision(const ProviderOptions& provider_options, std::string&
<< "Update the 'device_type' to specified types 'CPU', 'GPU', 'GPU.0', "
<< "'GPU.1', 'NPU' or from"
<< " HETERO/MULTI/AUTO options and set 'precision' separately. \n";
int delimit = device_type.find("_");
auto delimit = device_type.find("_");
device_type = device_type.substr(0, delimit);
return device_type.substr(delimit + 1);
}
Expand Down

0 comments on commit e43cdb3

Please sign in to comment.