Use Py_ssize_t instead of long

This commit is contained in:
Christoph Gohlke 2013-02-13 18:48:46 -08:00
parent d711d8ef82
commit 007a4405de

View File

@ -58,7 +58,7 @@
static Imaging
ImagingFind(const char* name)
{
long id;
Py_ssize_t id;
/* FIXME: use CObject instead? */
id = atol(name);