Date: Sat, 9 Feb 2008 09:12:02 +0000 (UTC) From: David Malone <dwmalone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/sed compile.c defs.h main.c process.c Message-ID: <200802090912.m199C23W093683@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2008-02-09 09:12:02 UTC
FreeBSD src repository
Modified files:
usr.bin/sed compile.c defs.h main.c process.c
Log:
WARNS fixes:
1) Add missing parens around assignment that is compared to zero.
2) Make some variables that only take non-negative values unsigned.
3) Some casts/type changes to fix other constness warnings.
4) Make one variable a const char *.
5) Make sure termwidth is positive, it doesn't make sense for it to be negative.
Approved by: dds
Revision Changes Path
1.31 +1 -1 src/usr.bin/sed/compile.c
1.7 +3 -3 src/usr.bin/sed/defs.h
1.41 +1 -1 src/usr.bin/sed/main.c
1.49 +7 -5 src/usr.bin/sed/process.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802090912.m199C23W093683>
