aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/ListWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index 13ce14e833..22d68c74d1 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -206,7 +206,7 @@ void ListWidget::handleCommand(CommandSender *sender, uint32 cmd, uint32 data)
{
switch (cmd) {
case kSetPositionCmd:
- if (_currentPos != data) {
+ if (_currentPos != (int)data) {
_currentPos = data;
draw();
}