Module Name:    src
Committed By:   rillig
Date:           Sat Aug 28 12:59:26 UTC 2021

Modified Files:
        src/usr.bin/xlint/common: lint.h
        src/usr.bin/xlint/lint1: decl.c externs1.h mem1.c tree.c
        src/usr.bin/xlint/lint2: mem2.c

Log Message:
lint: use 'unsigned int' for bit-size of types

Lint does not need to support any types larger than 256 MB since they
don't occur in practice.  Practically, such large types have never been
supported at all since the function type_size_in_bits used int for the
internal calculations, resulting in overflows.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/xlint/common/lint.h
cvs rdiff -u -r1.225 -r1.226 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.133 -r1.134 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/xlint/lint1/mem1.c
cvs rdiff -u -r1.354 -r1.355 src/usr.bin/xlint/lint1/tree.c
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/xlint/lint2/mem2.c

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

Reply via email to