Date: Mon, 8 Jun 2009 18:41:07 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Eygene Ryabinkin <rea-fbsd@codelabs.ru> Cc: amd64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 Message-ID: <20090608084107.GE9529@server.vk2pj.dyndns.org> In-Reply-To: <8LPG99US2/4EsGlonyfMSkDb40o@XX1fo6zQUfC4h0jjRC6IBz3oNH4> References: <20090608025715.499087302F@freebsd-current.sentex.ca> <8LPG99US2/4EsGlonyfMSkDb40o@XX1fo6zQUfC4h0jjRC6IBz3oNH4>
next in thread | previous in thread | raw e-mail | index | archive | help
--Yb+qhiCg54lqZFXW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Jun-08 11:00:56 +0400, Eygene Ryabinkin <rea-fbsd@codelabs.ru> wrot= e: > ifr->ifr_data =3D (caddr_t)(size_t)options; >----- >will be more correct and will disable this warning -- it will convert >u_int to the proper type that will be able to carry addresses for the >given platform. Whilst I notice this specific problem has been resolved differently, for future reference, you should use [u]intptr_t rather than [s]size_t for this purpose. --=20 Peter Jeremy --Yb+qhiCg54lqZFXW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoszqMACgkQ/opHv/APuIc+TwCeKgdniuhFecJwP1si2N5WgdUJ FvYAn0BuWBNEVkwFLNvDQ0bEcqVEuaVt =yEwa -----END PGP SIGNATURE----- --Yb+qhiCg54lqZFXW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090608084107.GE9529>