Fix compiler warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38048 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-03-25 14:53:20 +00:00
parent 527b28c933
commit 7a9250df6a

View File

@ -2481,9 +2481,9 @@ void PrefUserInterface::apply(LyXRC & rc) const
void PrefUserInterface::update(LyXRC const & rc)
{
unsigned int iconset = 0;
int iconset = 0;
if (!rc.icon_set.empty()) {
for ( ; iconset < icon_names_.size(); ++iconset) {
for ( ; iconset < int(icon_names_.size()); ++iconset) {
if (rc.icon_set == icon_names_[iconset].first)
break;
}