projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
second argument of PyDict_Next() should be of type Py_ssize_t, which isn't restricted...
[vuplus_dvbapp]
/
lib
/
base
/
ebase.cpp
diff --git
a/lib/base/ebase.cpp
b/lib/base/ebase.cpp
index
bf41dc0
..
03f50cc
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);