Module Name: src Committed By: rillig Date: Tue Aug 8 20:15:11 UTC 2023
Modified Files: src/tests/usr.bin/xlint/lint1: msg_132_ilp32.c src/usr.bin/xlint/lint1: tree.c Log Message: lint: in -a mode, do not warn about integer conversions from 'int' Since tree.c 1.552 from 2023-07-08, lint warned about integer conversions from 'int' or 'unsigned int' to smaller integer types. This only affected 32-bit platforms where size_t is 'unsigned int' rather than 'unsigned long', as on these platforms, the integer ranks of 'int' and 'long' are the same, see INT_RANK in inittyp.c. Discovered by lib/libkvm, which fails on i386 when lint generates any warnings. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_132_ilp32.c cvs rdiff -u -r1.576 -r1.577 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.