diff options
author | 2012-01-14 22:00:00 -0800 | |
---|---|---|
committer | 2012-01-14 22:00:00 -0800 | |
commit | 203c749e6cc2d5ac0e9e8e240c77d94e179c60d0 (patch) | |
tree | c28df4fa19ac064b0d03f77d14d98fc4154900d5 /output.cpp | |
parent | f3e2d2f68f14120e298fb1d50be89fa5e83c9222 (diff) |
Improved const-correctness, eliminating warnings.
Migrated some int to size_t
Diffstat (limited to 'output.cpp')
-rw-r--r-- | output.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,7 +67,7 @@ static int writeb_internal( char c ); /** Names of different colors. */ -static wchar_t *col[]= +static const wchar_t *col[]= { L"black", L"red", @@ -89,7 +89,7 @@ static wchar_t *col[]= in highlight.h. Non-ANSI terminals will display the wrong colors, since they use a different mapping. */ -static int col_idx[]= +static const int col_idx[]= { 0, 1, |