git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2f078db
)
second argument of PyDict_Next() should be of type Py_ssize_t, which isn't restricted...
author
Andreas Oberritter
<obi@opendreambox.org>
Tue, 25 Mar 2008 15:56:54 +0000
(15:56 +0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Tue, 25 Mar 2008 15:56:54 +0000
(15:56 +0000)
lib/base/ebase.cpp
patch
|
blob
|
history
diff --git
a/lib/base/ebase.cpp
b/lib/base/ebase.cpp
index bf41dc0bf2c582a125e4df003bae82a579c62002..03f50ccc62ebc3906259fa53220b276f3a671d98 100644
(file)
--- a/
lib/base/ebase.cpp
+++ b/
lib/base/ebase.cpp
@@
-200,7
+200,7
@@
int eMainloop::processOneEvent(unsigned int twisted_timeout, PyObject **res, ePy
if (additional)
{
PyObject *key, *val;
-
in
t pos=0;
+
Py_ssize_
t pos=0;
while (PyDict_Next(additional, &pos, &key, &val)) {
pfd[i].fd = PyObject_AsFileDescriptor(key);
pfd[i++].events = PyInt_AsLong(val);