Source-Changes archive

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

CVS commit: src/usr.bin/xlint



Module Name:    src
Committed By:   rillig
Date:           Sun Aug 22 13:12:39 UTC 2021

Modified Files:
        src/usr.bin/xlint/lint1: lex.c
        src/usr.bin/xlint/lint2: hash.c read.c

Log Message:
lint: use unsigned integers for storing hash values

The computation of the hash values is unchanged, only the resulting
value (which is always less than 1009 anyway, see HSHSIZ2) is stored as
unsigned as well.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/usr.bin/xlint/lint1/lex.c
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/xlint/lint2/hash.c
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/xlint/lint2/read.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