From owner-svn-src-all@FreeBSD.ORG Thu Jun 16 07:19:03 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45C301065673; Thu, 16 Jun 2011 07:19:03 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id B07478FC1B; Thu, 16 Jun 2011 07:19:02 +0000 (UTC) Received: by vxc34 with SMTP id 34so1329119vxc.13 for ; Thu, 16 Jun 2011 00:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/EhxNhW3LXQtUw5ghNz9tWip8KYLsEpxLuPoTfvBHQU=; b=VkkoufB09PTH4Ct3djvrLCtPxEqkffTFqsVhs4vMMePoqNnLL20xtF/a8gg37zJW/N lNPbFvbR96iYHy2W+b5yKEnNTsSLITmTRoii1iNq2E7cZr+a9ABiUjVBDjuqEraCj++P rMy/6oBhlhlb+fFM0mFJNtQopDE39tlXLNClw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xV7mHhzJsQz2HGeb6lvSVFyRCXzBJCKS2rlppNPUojpVPKz+15fb/lnZB5NCAXpfsF OEMj1ZMFb/ZFaWrg9BxnvoivHrcVFBvko1/gFLEm1vKgKWQ0boNRGGU8fhv9+JTQAxs0 tyrwI3waTHwHDsSEz5+YJQuC07akoFEIRRGuY= MIME-Version: 1.0 Received: by 10.220.210.69 with SMTP id gj5mr217725vcb.58.1308208741687; Thu, 16 Jun 2011 00:19:01 -0700 (PDT) Received: by 10.220.189.202 with HTTP; Thu, 16 Jun 2011 00:19:01 -0700 (PDT) In-Reply-To: <201106160714.p5G7Etfx017112@svn.freebsd.org> References: <201106160714.p5G7Etfx017112@svn.freebsd.org> Date: Thu, 16 Jun 2011 00:19:01 -0700 Message-ID: From: Garrett Cooper To: Tai-hwa Liang Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r223139 - head/lib/libstand X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2011 07:19:03 -0000 On Thu, Jun 16, 2011 at 12:14 AM, Tai-hwa Liang wrote: > Author: avatar > Date: Thu Jun 16 07:14:55 2011 > New Revision: 223139 > URL: http://svn.freebsd.org/changeset/base/223139 > > Log: > =A0Unbreaking build on sparc64. > > =A0Submitted by: Garrett Cooper > > Modified: > =A0head/lib/libstand/zalloc.c > > Modified: head/lib/libstand/zalloc.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/lib/libstand/zalloc.c =A0Thu Jun 16 05:26:03 2011 =A0 =A0 =A0 = =A0(r223138) > +++ head/lib/libstand/zalloc.c =A0Thu Jun 16 07:14:55 2011 =A0 =A0 =A0 = =A0(r223139) > @@ -154,7 +154,7 @@ zfree(MemPool *mp, void *ptr, iaddr_t by > =A0 =A0 if ((char *)ptr < (char *)mp->mp_Base || > =A0 =A0 =A0 =A0(char *)ptr + bytes > (char *)mp->mp_End || > =A0 =A0 =A0 =A0((iaddr_t)ptr & MEMNODE_SIZE_MASK) !=3D 0) > - =A0 =A0 =A0 panic("zfree(%p,%d): wild pointer", ptr, bytes); > + =A0 =A0 =A0 panic("zfree(%p,%ju): wild pointer", ptr, bytes); All of those need to be cast to (uintmax_t). Sorry :(.. -Garrett