diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2008-03-25 15:56:54 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2008-03-25 15:56:54 +0000 |
| commit | 31091aed60d76a8f44eaf82feed8c63c73f76d12 (patch) | |
| tree | b6befed7ee9f2d6b014543a08b033098bd107224 /lib/base | |
| parent | 2f078db56fe65c0720078c1af9dac3ed6e9c5252 (diff) | |
| download | enigma2-31091aed60d76a8f44eaf82feed8c63c73f76d12.tar.gz enigma2-31091aed60d76a8f44eaf82feed8c63c73f76d12.zip | |
second argument of PyDict_Next() should be of type Py_ssize_t, which isn't restricted to 32 bits
Diffstat (limited to 'lib/base')
| -rw-r--r-- | lib/base/ebase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/ebase.cpp b/lib/base/ebase.cpp index bf41dc0b..03f50ccc 100644 --- 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; - int 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); |
