From owner-cvs-src@FreeBSD.ORG Sat Sep 22 02:30:44 2007 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 93B6716A417; Sat, 22 Sep 2007 02:30:44 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A2EB13C45A; Sat, 22 Sep 2007 02:30:44 +0000 (UTC) (envelope-from scf@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 l8M2UipW020610; Sat, 22 Sep 2007 02:30:44 GMT (envelope-from scf@repoman.freebsd.org) Received: (from scf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8M2UiRK020609; Sat, 22 Sep 2007 02:30:44 GMT (envelope-from scf) Message-Id: <200709220230.l8M2UiRK020609@repoman.freebsd.org> From: Sean Farley Date: Sat, 22 Sep 2007 02:30:44 +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/lib/libc/stdlib getenv.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, 22 Sep 2007 02:30:44 -0000 scf 2007-09-22 02:30:44 UTC FreeBSD src repository Modified files: lib/libc/stdlib getenv.c Log: The precision for a string argument in a call to warnx() needs to be cast to an int to remove the warning from using a size_t variable on 64-bit platforms. Submitted by: Xin LI Approved by: wes Approved by: re (kensmith) Revision Changes Path 1.12 +2 -1 src/lib/libc/stdlib/getenv.c