git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use correct datatype
[enigma2.git]
/
lib
/
base
/
console.cpp
diff --git
a/lib/base/console.cpp
b/lib/base/console.cpp
index 3dfcbae8ebc7d29220d57e8e622bccaf003b44c4..d8820eefd963247f5360ca4a35ccec1cf75c27e7 100644
(file)
--- 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;
-
in
t length;
+
Py_ssize_
t length;
if (PyString_AsStringAndSize(data, &buffer, &length))
return;
if (buffer && length)