mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +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 */
|
/* Allocates *text, returns a 'new reference'. Caller is required to free */
|
||||||
|
|
||||||
PyObject* bytes = NULL;
|
PyObject* bytes = NULL;
|
||||||
ssize_t len = 0;
|
Py_ssize_t len = 0;
|
||||||
char *buffer;
|
char *buffer;
|
||||||
|
|
||||||
*text = NULL;
|
*text = NULL;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user