Re: [Ipsec-tools-devel] Fails to build on various plateform
Brought to you by:
mit_warlord,
netbsd
From: Matthew G. <mg...@sh...> - 2007-02-16 15:08:01
|
VANHULLEBUS Yvan wrote: > Hi. > > On Fri, Feb 16, 2007 at 03:14:58AM -0600, Matthew Grooms wrote: > [....] >> This is my fault. To be honest, I'm not exactly sure what the correct >> fix should be as I imagine size_t could be different depending on the >> platform. I also don't have anything that runs OSX. Does applying this >> patch silence the warnings for you? > > This patch is NOT the good way to fix that. > > The good way is to use %zu, which wants a size_t. > Nice! I wasn't aware there was a format specifically for size_t. -Matthew |