Silence -Wformat-truncation warnings

Authored by mglb on May 23 2018, 11:27 PM.

Description

Silence -Wformat-truncation warnings

Summary:
Add a few bytes to a small arrays on stack in order to make compiler
happy. Those warnings are invalid in this context (as long as terminal
width and height are not larger than 8-digits-long number).

BUG: 394565

Test Plan:

  • Build Konsole with GCC 8 and -Wformat-truncation flag

Expected result: no format-truncation warnings
Actual result: three format-truncation warnings appear

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: hindenburg, konsole-devel, Konsole

Tags: Konsole

Differential Revision: https://phabricator.kde.org/D13080

Details

Committed
hindenburgMay 23 2018, 11:42 PM
Reviewer
Konsole
Differential Revision
D13080: Silence -Wformat-truncation warnings
Parents
R319:12fa4737ab66: Remove StackedViewContainer class
Branches
Unknown
Tags
Unknown