Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cc58607

Browse files
committed
Merged revisions 8704 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8704 | weathergod | 2010-09-16 11:45:43 -0500 (Thu, 16 Sep 2010) | 3 lines change pointer offset from type int to size_t, which caused problems with showing very high res images. This fixes bug ID 3054444. ........ svn path=/trunk/matplotlib/; revision=8705
1 parent 1718e0a commit cc58607

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/_image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ _image_module::fromarray(const Py::Tuple& args)
924924

925925
int rgba = A->dimensions[2] == 4;
926926
double r, g, b, alpha;
927-
int offset = 0;
927+
size_t offset = 0;
928928

929929
for (size_t rownum = 0; rownum < imo->rowsIn; rownum++)
930930
{

0 commit comments

Comments
 (0)