dmx: More const correctness

Fixes several dozen cases like:

../hw/dmx/examples/ev.c: In function ‘main’:
../hw/dmx/examples/ev.c:147:29: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
                         tmp = "X";
                             ^

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Adam Jackson 2017-09-27 14:31:35 -04:00
parent eb25facb37
commit 1d1ff1142a
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ main(int argc, char **argv)
int fd = 0;
int rc;
int i, j;
char *tmp;
const char *tmp;
#define test_bit(bit) (mask[(bit)/8] & (1 << ((bit)%8)))