From owner-cvs-all Fri Oct 4 2:10:20 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EADF37B401; Fri, 4 Oct 2002 02:10:19 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D794943E4A; Fri, 4 Oct 2002 02:10:18 -0700 (PDT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id B52EBAE03F; Fri, 4 Oct 2002 02:10:18 -0700 (PDT) Date: Fri, 4 Oct 2002 02:10:18 -0700 From: Maxime Henrion To: Bruce Evans Cc: Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi_pcib.c Message-ID: <20021004091018.GJ57622@elvis.mu.org> References: <200210040033.g940Xkcj091489@freefall.freebsd.org> <20021004190331.A7132-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021004190331.A7132-100000@gamplex.bde.org> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > On Thu, 3 Oct 2002, Peter Wemm wrote: > > > peter 2002/10/03 17:33:46 PDT > > > > Modified files: > > sys/dev/acpica acpi_pcib.c > > Log: > > Fix printf format errors on 64 bit systems where sizes are long > > instead of just int. > > What systems are they? size_t is an unsigned type on non-broken N bit > systems, and casting it to signed long asks for warnings on systems > where not all size_t's can be represented as longs (mainly on 64-bit > systems). Don't we have the %z format specifier in the kernel printf() ? Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message