From 062b5796dd432200a73fac52c79ed6e0bfe1b787 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 11 Nov 2012 13:04:23 -0500 Subject: [PATCH] fix compile error on x86 --- termite.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termite.cc b/termite.cc index 504b684..2ee1fab 100644 --- a/termite.cc +++ b/termite.cc @@ -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); }