aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2006-01-17 22:19:50 +0000
committerAndreas Oberritter <obi@opendreambox.org>2006-01-17 22:19:50 +0000
commit923c229f865f1d2052d99e10cdc8d4f3cce83f26 (patch)
treedbed180aeac46279355e070ab55bec8914fd15ca /lib
parent3d97c574dfd44ddad287578b19ee8baaecbefd30 (diff)
downloadenigma2-923c229f865f1d2052d99e10cdc8d4f3cce83f26.tar.gz
enigma2-923c229f865f1d2052d99e10cdc8d4f3cce83f26.zip
fixed comparison between signed and unsigned integer
Diffstat (limited to 'lib')
-rw-r--r--lib/base/ebase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/ebase.cpp b/lib/base/ebase.cpp
index 00ecb345..8563a593 100644
--- a/lib/base/ebase.cpp
+++ b/lib/base/ebase.cpp
@@ -157,7 +157,7 @@ int eMainloop::processOneEvent(unsigned int user_timeout, PyObject **res, PyObje
poll_timeout /= 1000;
}
- if ((user_timeout > 0) && (poll_timeout > user_timeout))
+ if ((user_timeout > 0) && (poll_timeout > 0) && ((unsigned int)poll_timeout > user_timeout))
{
poll_timeout = user_timeout;
return_reason = 1;