[head tinderbox] failure on amd64/amd64

Peter Jeremy peterjeremy at optushome.com.au
Mon Jun 8 10:49:16 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20090608/1e3ed7ad/attachment.pgp


More information about the freebsd-amd64 mailing list