fix compile error on x86

This commit is contained in:
Daniel Micay 2012-11-11 13:04:23 -05:00
parent 0f17d4f2c5
commit 062b5796dd
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ static void move_to_eol(VteTerminal *vte, select_info *select) {
}
auto iter = std::find(codepoints, codepoints + length, '\n');
set_cursor_column(vte, select, std::max(iter - codepoints - 1, 0l));
set_cursor_column(vte, select, std::max(iter - codepoints - 1l, 0l));
g_free(codepoints);
}