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:           Sat Mar 28 11:05:13 UTC 2026

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_380.c msg_381.c
        src/usr.bin/xlint/lint1: tree.c

Log Message:
lint: do not warn about lossy cast from floating to integer

The check is intended to catch unintentional loss of accuracy. Having an
explicit cast in the code makes the intention clear enough.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_380.c \
    src/tests/usr.bin/xlint/lint1/msg_381.c
cvs rdiff -u -r1.705 -r1.706 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