Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2002 02:10:18 -0700
From:      Maxime Henrion <mux@freebsd.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Peter Wemm <peter@FreeBSD.org>, 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>
In-Reply-To: <20021004190331.A7132-100000@gamplex.bde.org>
References:  <200210040033.g940Xkcj091489@freefall.freebsd.org> <20021004190331.A7132-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021004091018.GJ57622>