Shut up warning

This commit is contained in:
Thomas Goyne 2014-04-25 20:42:42 -07:00
parent 2adcc76cf6
commit 50e27d8247
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ void SubsTextEditCtrl::SetTextTo(std::string const& text) {
Freeze();
auto insertion_point = GetInsertionPoint();
if (insertion_point > line_text.size())
if (static_cast<size_t>(insertion_point) > line_text.size())
line_text = GetTextRaw().data();
auto old_pos = agi::CharacterCount(line_text.begin(), line_text.begin() + insertion_point, 0);
line_text.clear();