Skip to content

Commit 254dea4

Browse files
committed
Fix Windows build
1 parent a687ad1 commit 254dea4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/samplerate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ class CallbackResampler {
315315
// create a shorter view of the array
316316
if (output_frames_gen < frames) {
317317
out_shape[0] = output_frames_gen;
318-
auto strides = std::vector<ssize_t>(output.strides(),
319-
output.strides() + output.ndim());
318+
auto strides = std::vector<py::ssize_t>(output.strides(),
319+
output.strides() + output.ndim());
320320
return py::array_t<float, py::array::c_style>(
321321
out_shape, strides, static_cast<float *>(outbuf.ptr), output);
322322
}

0 commit comments

Comments
 (0)