compile error with python2.5

Achim Gaedke

While compiling matplotlib-0.87.5 with python-2.5 on debian testing some
errors occured:

[snip errors]

similar errors occured in src/swig_runtime.h

src/swig_runtime.h: In function 'int SWIG_Python_ConvertPtr(PyObject*,
void**, swig_type_info*, int)':
src/swig_runtime.h:1140: error: invalid conversion from 'const char*' to

There are also problems with the CXX/ code using int instead of
Py_ssize_t. I've submitted a patch with fixes for that, and your patch
for the above problem:





David M. Cooke