Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c516155

Browse filesBrowse files
committed
Fix building on 32-bit
1 parent 962053b commit c516155
Copy full SHA for c516155

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/_image.cpp

Copy file name to clipboardExpand all lines: src/_image.cpp
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.