diff --git a/src/History.cpp b/src/History.cpp index 97dbea7c93c5e8cba1baf4405c65d4fb3351a249..3db747c735329af539a5233c3e62a584e3c00fb1 100644 --- a/src/History.cpp +++ b/src/History.cpp @@ -353,7 +353,7 @@ bool HistoryScrollBuffer::isWrappedLine(int lineNumber) return false; } -void HistoryScrollBuffer::getCells(int lineNumber, int startColumn, int count, Character* buffer) +void HistoryScrollBuffer::getCells(int lineNumber, int startColumn, int count, Character buffer[]) { if ( count == 0 ) return; @@ -753,7 +753,7 @@ int CompactHistoryScroll::getLineLen ( int lineNumber ) } -void CompactHistoryScroll::getCells ( int lineNumber, int startColumn, int count, Character* buffer ) +void CompactHistoryScroll::getCells ( int lineNumber, int startColumn, int count, Character buffer[] ) { if ( count == 0 ) return; Q_ASSERT ( lineNumber < lines.size() );