Re: [PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-22 Thread Segher Boessenkool
> Yes, I think %z is preferable. It used to be a glibc (et al) > extension, but I think it's now specified in C99 (we should double > check that). It is. Segher ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo

Re: [PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-22 Thread David Gibson
On Mon, Oct 22, 2007 at 11:55:11AM -0500, Josh Boyer wrote: > On Mon, 22 Oct 2007 11:50:52 -0500 > Jon Loeliger <[EMAIL PROTECTED]> wrote: > > > So, like, the other day David Gibson mumbled: > > > On Sat, Oct 20, 2007 at 10:51:29AM +0200, Andreas Schwab wrote: > > > > David Gibson <[EMAIL PROTECTE

Re: [PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-22 Thread Josh Boyer
On Mon, 22 Oct 2007 11:50:52 -0500 Jon Loeliger <[EMAIL PROTECTED]> wrote: > So, like, the other day David Gibson mumbled: > > On Sat, Oct 20, 2007 at 10:51:29AM +0200, Andreas Schwab wrote: > > > David Gibson <[EMAIL PROTECTED]> writes: > > > > > > > What compiler/platform is this? I can't off

Re: [PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-22 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > On Sat, Oct 20, 2007 at 10:51:29AM +0200, Andreas Schwab wrote: > > David Gibson <[EMAIL PROTECTED]> writes: > > > > > What compiler/platform is this? I can't off the top of my head think > > > of one where size_t shouldn't be promoted to int automa

Re: [PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-20 Thread David Gibson
On Sat, Oct 20, 2007 at 10:51:29AM +0200, Andreas Schwab wrote: > David Gibson <[EMAIL PROTECTED]> writes: > > > What compiler/platform is this? I can't off the top of my head think > > of one where size_t shouldn't be promoted to int automatically. > > Only types narrower than int are subject t

Re: [PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-20 Thread Andreas Schwab
David Gibson <[EMAIL PROTECTED]> writes: > What compiler/platform is this? I can't off the top of my head think > of one where size_t shouldn't be promoted to int automatically. Only types narrower than int are subject to integer promotion. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTEC

Re: [PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-20 Thread David Gibson
On Fri, Oct 19, 2007 at 12:43:13PM -0500, Jon Loeliger wrote: > > Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> Hrm I'm very dubious about this. What compiler/platform is this? I can't off the top of my head think of one where size_t shouldn't be promoted to int automatically. Or there's

[PATCH 3/4] DTC: Appease the printf() format $Gods with a correct type.

2007-10-19 Thread Jon Loeliger
Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> --- tests/get_name.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/get_name.c b/tests/get_name.c index 2481741..a76bdf8 100644 --- a/tests/get_name.c +++ b/tests/get_name.c @@ -55,7 +55,7 @@ void check_name(void *fd