From 2325f84273ac846fdfc89f4655c21fd3b89da2bc Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 10 Sep 2022 10:25:29 -0700 Subject: EmitBitmap: declare maskTab as const As recommended by cppcheck Signed-off-by: Alan Coopersmith --- chars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chars.c b/chars.c index e97a804..f624f88 100644 --- a/chars.c +++ b/chars.c @@ -122,7 +122,7 @@ EmitBitmap(FILE *outFile, unsigned byte; unsigned bit; - static unsigned maskTab[] = { + static const unsigned maskTab[] = { (1 << 7), (1 << 6), (1 << 5), (1 << 4), (1 << 3), (1 << 2), (1 << 1), (1 << 0), }; -- cgit v1.2.3