summaryrefslogtreecommitdiffstats
path: root/tdmlib/kgreet_winbind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdmlib/kgreet_winbind.cpp')
-rw-r--r--tdmlib/kgreet_winbind.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdmlib/kgreet_winbind.cpp b/tdmlib/kgreet_winbind.cpp
index d5626a3f..85721dd4 100644
--- a/tdmlib/kgreet_winbind.cpp
+++ b/tdmlib/kgreet_winbind.cpp
@@ -607,14 +607,14 @@ KWinbindGreeter::slotEndDomainList()
TQString current = domainCombo->currentText();
- for (int i = 0; i < domainList.count(); ++i) {
- if (i < domainCombo->count())
+ for (unsigned int i = 0; i < domainList.count(); ++i) {
+ if (i < (uint)domainCombo->count())
domainCombo->changeItem(domainList[i], i);
else
domainCombo->insertItem(domainList[i], i);
}
- while (domainCombo->count() > domainList.count())
+ while ((uint)domainCombo->count() > domainList.count())
domainCombo->removeItem(domainCombo->count()-1);
domainCombo->setCurrentItem( current );