Fix int/unsigned comparison warning

This commit is contained in:
David Capello 2016-11-14 12:05:16 -03:00
parent f4f3dd2c4c
commit e345170948

View File

@ -63,7 +63,7 @@ class PalettesListItem : public ResourceListItem {
int j, i = m_comment.find("http");
if (i != std::string::npos) {
for (j=i+4; j<m_comment.size() && is_url_char(m_comment[j]); ++j)
for (j=i+4; j<int(m_comment.size()) && is_url_char(m_comment[j]); ++j)
;
base::launcher::open_url(m_comment.substr(i, j-i));
}