Skip to content

Commit c516155

Browse files
committed
Fix building on 32-bit
1 parent 962053b commit c516155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_image.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ Image::resize(const Py::Tuple& args, const Py::Dict& kwargs)
371371
throw Py::RuntimeError("You must first load the image");
372372
}
373373

374-
size_t numcols = Py::Int(args[0]);
375-
size_t numrows = Py::Int(args[1]);
374+
int numcols = Py::Int(args[0]);
375+
int numrows = Py::Int(args[1]);
376376

377377
colsOut = numcols;
378378
rowsOut = numrows;

0 commit comments

Comments
 (0)