Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7828f3 + b570107 commit af4046eCopy full SHA for af4046e
1 file changed
src/ft2font_wrapper.cpp
@@ -291,7 +291,7 @@ static unsigned long read_from_file_callback(FT_Stream stream,
291
return 1; // Non-zero signals error, when count == 0.
292
}
293
294
- return PyLong_AsUnsignedLong(PyLong_FromSsize_t(n_read));
+ return (unsigned long)n_read;
295
296
297
static void close_file_callback(FT_Stream stream)
0 commit comments