mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-29 08:28:08 +00:00
Constification
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
daf406a179
commit
6e04b94751
@ -540,7 +540,7 @@ static inline void encode_ones(Encoder *encoder, unsigned int n)
|
||||
|
||||
#define MELCSTATES 32 /* number of melcode states */
|
||||
|
||||
static int J[MELCSTATES] = {
|
||||
static const int J[MELCSTATES] = {
|
||||
0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7,
|
||||
7, 8, 9, 10, 11, 12, 13, 14, 15
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user