apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@apache.org>
Subject Re: [PATCH] hex format string for apr_uint64_t
Date Tue, 15 Apr 2003 19:49:29 GMT
At 01:05 PM 4/15/2003, Jeff Trawick wrote:
>Jeff Trawick wrote:
>>An unfortunately ugly example:
>>  apr_time_t now;
>>  apr_snprintf(..., "microsecs in hex: %" APR_UINT64_T_HEX_FMT,
>>               (apr_uint64_t))
>
>err, that last line should be
>
>                 (apr_uint64_t)now)

Of course :-)

+1 to the patch - we will have to see how many platforms contradict 
themselves between d and x formats - but I hope we find this isn't 
a common problem.

Bill


Mime
View raw message