mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 03:44:16 +00:00
Fix int/unsigned comparison warning
This commit is contained in:
parent
f4f3dd2c4c
commit
e345170948
@ -63,7 +63,7 @@ class PalettesListItem : public ResourceListItem {
|
|||||||
|
|
||||||
int j, i = m_comment.find("http");
|
int j, i = m_comment.find("http");
|
||||||
if (i != std::string::npos) {
|
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));
|
base::launcher::open_url(m_comment.substr(i, j-i));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user