From owner-cvs-src@FreeBSD.ORG Sat Feb 9 09:12:03 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 699F716A53E; Sat, 9 Feb 2008 09:12:03 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CA1C713C465; Sat, 9 Feb 2008 09:12:02 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m199C24p093684; Sat, 9 Feb 2008 09:12:02 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m199C23W093683; Sat, 9 Feb 2008 09:12:02 GMT (envelope-from dwmalone) Message-Id: <200802090912.m199C23W093683@repoman.freebsd.org> From: David Malone Date: Sat, 9 Feb 2008 09:12:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/sed compile.c defs.h main.c process.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2008 09:12:03 -0000 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