Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Mon Nov  1 18:11:26 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_348.c msg_348.exp
        src/usr.bin/xlint/lint1: tree.c

Log Message:
lint: do not warn about array size mismatch in array[(int)enum]

The cast to 'int' explicitly converts the type away from being an enum.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_348.c \
    src/tests/usr.bin/xlint/lint1/msg_348.exp
cvs rdiff -u -r1.390 -r1.391 src/usr.bin/xlint/lint1/tree.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index