We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4ca366 commit c2e65f1Copy full SHA for c2e65f1
1 file changed
include/pybind11/pybind11.h
@@ -1019,7 +1019,7 @@ class cpp_function : public function {
1019
ssize_t i = keyword_index(kwnames_in, arg_rec.name);
1020
if (i >= 0) {
1021
value = args_in_arr[n_args_in + static_cast<size_t>(i)];
1022
- used_kwargs.set(i, true);
+ used_kwargs.set(static_cast<size_t>(i), true);
1023
used_kwargs_count++;
1024
}
1025
0 commit comments