Skip to content

Commit ce6b4bb

Browse files
wip: Fix CI failure #5
1 parent bb7157b commit ce6b4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/numpy_ufunc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class ufunc : public object {
251251
size_t ncore = core_funcs_.size();
252252
size_t t_index = core_type_args_.size();
253253
int nargs = nin_ + nout_;
254-
core_type_args_.resize(ncore * nargs);
254+
core_type_args_.resize(ncore * static_cast<size_t>(nargs));
255255
for (size_t i = 0; i < dtype_args.size(); ++i) {
256256
core_type_args_.at(t_index++) = (char)dtype_args[i];
257257
}

0 commit comments

Comments
 (0)