On Saturday February 4, [EMAIL PROTECTED] wrote:
> On Sat, Feb 04, 2006 at 06:37:45PM +0100, Luca Berra wrote:
> >On Thu, Feb 02, 2006 at 04:18:33PM +1100, Neil Brown wrote:
> >>
> >>
> >>I am pleased to announce the availability of
> >>   mdadm version 2.3
> >>
> >and i am pleased to reply with the first patch for mdadm 2.3,
> >which will allow building on 64bit machines.
> >
> A more knowledgeable C programmer than me suggested using PRIu64
> instead of casting to format correctly theese printfs, what do you
> think about it?
> 

Which way to work around a shortcoming in the C language?
I don't think either is clearly better, though I suspect using PRIu64
might make internationalisation of the strings somewhat harder.

Being largely a kernel programmer these days, and as the kernel tends
to cast the number rather than massage the format string, I would
prefer to do that (i.e. put in the cast like your patch did).

Thanks,
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to