summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-10 10:25:29 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-10 10:25:29 -0700
commit2325f84273ac846fdfc89f4655c21fd3b89da2bc (patch)
tree8f130b1df7dafadf75d4c3eee7cd259ebc8ad9c6
parent4d54d9ad3a46815792c094fbea82351ed61c66d7 (diff)
EmitBitmap: declare maskTab as const
As recommended by cppcheck Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--chars.c2
1 files changed, 1 insertions, 1 deletions
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),
};