diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2008-03-25 22:12:37 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2008-03-25 22:12:37 +0000 |
| commit | 3458b59694ee3659c2afdd3e7e48a2e087f1102f (patch) | |
| tree | 2b7076c15ab9ead90a355305be2e2364f6c962d9 /lib/gui/elistbox.cpp | |
| parent | a3b666437785e7b6b97fa9de31e82867cea407ea (diff) | |
| download | enigma2-3458b59694ee3659c2afdd3e7e48a2e087f1102f.tar.gz enigma2-3458b59694ee3659c2afdd3e7e48a2e087f1102f.zip | |
use long instead of int where pointers are casted
Diffstat (limited to 'lib/gui/elistbox.cpp')
| -rw-r--r-- | lib/gui/elistbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gui/elistbox.cpp b/lib/gui/elistbox.cpp index 73fbff3b..d4c653fe 100644 --- a/lib/gui/elistbox.cpp +++ b/lib/gui/elistbox.cpp @@ -99,7 +99,7 @@ void eListbox::moveToEnd() } } -void eListbox::moveSelection(int dir) +void eListbox::moveSelection(long dir) { /* refuse to do anything without a valid list. */ if (!m_content) @@ -360,7 +360,7 @@ int eListbox::event(int event, void *data, void *data2) case evtAction: if (isVisible()) { - moveSelection((int)data2); + moveSelection((long)data2); return 1; } return 0; |
