Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/xlint/lint1
Module Name: src
Committed By: christos
Date: Sun Jan 2 17:59:47 UTC 2005
Modified Files:
src/usr.bin/xlint/lint1: tree.c
Log Message:
Shift assignment operators were handled incorrectly. On 64 bit machines,
unsigned long x, y;
x <<= y;
always produces a warning because y is casted to int. Handle them instead
the same way as regular shifts.
To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 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