Py_ssize_t is defined on windows

This commit is contained in:
wiredfool 2017-08-14 07:28:06 -07:00 committed by Eric Soroos
parent dc7ee29c46
commit 277935ae23

View File

@ -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;