bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printf (_("...%zu..."), X) where X is of type size_t


From: James Youngman
Subject: Re: printf (_("...%zu..."), X) where X is of type size_t
Date: Sat, 1 Oct 2005 07:16:52 +0100
User-agent: Mutt/1.5.9i

On Fri, Sep 30, 2005 at 03:45:56PM -0700, Paul Eggert wrote:

> If 'size' is of type size_t, then where I was suggesting this:
> 
>      unsigned long int s = size;
>      printf (_("The size is %lu.\n"), size);

Am I mistaken, or is it the case that the C99 standard allows size_t
to be wider than unsigned long?    (e.g. unsigned long long)

James.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]