From 40fb56c87ae86db9d12216af47e61179ddb27d94 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 4 Oct 2016 19:37:17 +0100 Subject: [PATCH] Small code cleanup --- src/display_buffer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/display_buffer.cc b/src/display_buffer.cc index b8a1d43f..c19d45f4 100644 --- a/src/display_buffer.cc +++ b/src/display_buffer.cc @@ -63,10 +63,10 @@ ColumnCount DisplayAtom::length() const switch (m_type) { case BufferRange: - return (int)column_length(*m_buffer, m_range.begin, m_range.end); + return column_length(*m_buffer, m_range.begin, m_range.end); case Text: case ReplacedBufferRange: - return (int)m_text.column_length(); + return m_text.column_length(); } kak_assert(false); return 0;