Subject: CVS commit: src/usr.bin/xlint/lint1
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 01/02/2005 17:59:47
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.