fix compilation warning in Text::[]

This commit is contained in:
josh committed 2014-06-10 19:24:22 -04:00
1 parent e816e912e9
commit ad1b8f4e96
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ namespace jes
Text(const uint8_t buf[], size_t size);
size_t get_size() { return m_size - m_gap_size; }
Character operator[](int index)
Character operator[](size_t index)
{
return (Character)(m_buffer[index < m_gap_index ? index : index + m_gap_size]);
}