mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
Py_ssize_t is defined on windows
This commit is contained in:
parent
dc7ee29c46
commit
277935ae23
|
@ -2201,7 +2201,7 @@ void _font_text_asBytes(PyObject* encoded_string, unsigned char** text){
|
|||
/* Allocates *text, returns a 'new reference'. Caller is required to free */
|
||||
|
||||
PyObject* bytes = NULL;
|
||||
ssize_t len = 0;
|
||||
Py_ssize_t len = 0;
|
||||
char *buffer;
|
||||
|
||||
*text = NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user