projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d97c57
)
fixed comparison between signed and unsigned integer
author
Andreas Oberritter
<obi@opendreambox.org>
Tue, 17 Jan 2006 22:19:50 +0000
(22:19 +0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Tue, 17 Jan 2006 22:19:50 +0000
(22:19 +0000)
lib/base/ebase.cpp
patch
|
blob
|
history
diff --git
a/lib/base/ebase.cpp
b/lib/base/ebase.cpp
index
00ecb34
..
8563a59
100644
(file)
--- 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;