From 1428fa3eee06d2f0226c2080dff723e3fac1d16b Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 21 Oct 2008 15:03:04 +0000 Subject: use correct datatype --- lib/base/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/base/console.cpp') diff --git a/lib/base/console.cpp b/lib/base/console.cpp index 3dfcbae8..d8820eef 100644 --- a/lib/base/console.cpp +++ b/lib/base/console.cpp @@ -401,7 +401,7 @@ void eConsoleAppContainer::write( const char *data, int len ) void eConsoleAppContainer::write( PyObject *data ) { char *buffer; - int length; + Py_ssize_t length; if (PyString_AsStringAndSize(data, &buffer, &length)) return; if (buffer && length) -- cgit v1.2.3