From b170c5627e1795c23a36c596972571b6927c8e67 Mon Sep 17 00:00:00 2001 From: Nicolas Pieuchot Date: Thu, 25 Apr 2013 18:54:57 +0200 Subject: [PATCH] Restablishing old changes --- _imagingft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_imagingft.c b/_imagingft.c index 910e4bfde..bf0d23ec3 100644 --- a/_imagingft.c +++ b/_imagingft.c @@ -103,7 +103,7 @@ getfont(PyObject* self_, PyObject* args, PyObject* kw) int size; int index = 0; unsigned char* encoding; - unsigned char** file_like; + unsigned char* file_like; int file_like_size = 0; static char* kwlist[] = { "filename", "size", "index", "encoding", "file_like", "file_like_size", NULL @@ -111,7 +111,7 @@ getfont(PyObject* self_, PyObject* args, PyObject* kw) if (!PyArg_ParseTupleAndKeywords(args, kw, "eti|isz*i", kwlist, Py_FileSystemDefaultEncoding, &filename, - &size, &index, &encoding, file_like, + &size, &index, &encoding, &file_like, &file_like_size)) return NULL;