Re: [head tinderbox] failure on amd64/amd64

From: Peter Jeremy <peterjeremy_at_optushome.com.au>
Date: Mon, 8 Jun 2009 18:41:07 +1000
On 2009-Jun-08 11:00:56 +0400, Eygene Ryabinkin <rea-fbsd_at_codelabs.ru> wrote:
>		ifr->ifr_data = (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.

-- 
Peter Jeremy

Received on Mon Jun 08 2009 - 06:43:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC