aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-04-13 00:03:38 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-04-13 00:03:38 +0200
commit6f71e3512f6112d2523901860c603c03fd6e6ccd (patch)
treedd92a3df266a1cb83cd70754e84209afd6fe597c
parent9ef36b8496f187930ff526565546343e503617ab (diff)
downloadenigma2-6f71e3512f6112d2523901860c603c03fd6e6ccd.tar.gz
enigma2-6f71e3512f6112d2523901860c603c03fd6e6ccd.zip
lib/gui/elistboxcontent.cpp: fix compiler warning
-rw-r--r--lib/gui/elistboxcontent.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp
index 4465d84c..b9e71df8 100644
--- a/lib/gui/elistboxcontent.cpp
+++ b/lib/gui/elistboxcontent.cpp
@@ -49,7 +49,8 @@ int iListboxContent::currentCursorSelectable()
DEFINE_REF(eListboxPythonStringContent);
-eListboxPythonStringContent::eListboxPythonStringContent(): m_itemheight(25), m_cursor(0)
+eListboxPythonStringContent::eListboxPythonStringContent()
+ :m_cursor(0), m_itemheight(25)
{
}
@@ -81,7 +82,7 @@ int eListboxPythonStringContent::cursorMove(int count)
int eListboxPythonStringContent::cursorValid()
{
- return ((unsigned int)m_cursor) < size();
+ return m_cursor < size();
}
int eListboxPythonStringContent::cursorSet(int n)