diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-10 10:25:29 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-10 10:25:29 -0700 |
commit | 2325f84273ac846fdfc89f4655c21fd3b89da2bc (patch) | |
tree | 8f130b1df7dafadf75d4c3eee7cd259ebc8ad9c6 | |
parent | 4d54d9ad3a46815792c094fbea82351ed61c66d7 (diff) |
EmitBitmap: declare maskTab as const
As recommended by cppcheck
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | chars.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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), }; |