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

Skip to content

Commit 306ef5c

Browse files
committed
typo ssize_t -> Py_ssize_t
svn path=/trunk/matplotlib/; revision=2780
1 parent 70bc3e8 commit 306ef5c

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
@@ -1256,7 +1256,7 @@ _image_module::frombuffer(const Py::Tuple& args) {
12561256

12571257
imo->rowsIn = y;
12581258
imo->colsIn = x;
1259-
ssize_t NUMBYTES(imo->colsIn * imo->rowsIn * imo->BPP);
1259+
Py_ssize_t NUMBYTES(imo->colsIn * imo->rowsIn * imo->BPP);
12601260

12611261
Py_ssize_t buflen;
12621262
const agg::int8u *rawbuf;

0 commit comments

Comments
 (0)