aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/base/console.cpp2
1 files changed, 1 insertions, 1 deletions
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)