Subject: CVS commit: src/usr.bin/xlint/lint1
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 10/18/2006 00:01:19
Module Name:	src
Committed By:	he
Date:		Wed Oct 18 00:01:19 UTC 2006

Modified Files:
	src/usr.bin/xlint/lint1: tree.c

Log Message:
Partly redo when to emit warnings for argument type conversions.
Remove the apparently always true "styp(nt) != SHORT" part of the
innermost test.  Allow atomatic conversion of literals as long as
they fit into the target type.

This should fix some of the lint issues in proplib on some of our
platforms.

Approved by christos.


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 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.