httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: svn commit: r629164 - /httpd/httpd/trunk/support/htpasswd.c
Date Tue, 19 Feb 2008 20:48:29 GMT
Ruediger Pluem wrote:
> 
> 
> On 02/19/2008 06:05 PM, pquerna@apache.org wrote:
....
>> +static apr_status_t seed_rand()
>> +{
>> +    int seed = 0;
>> +    apr_status_t rv;
>> +    rv = apr_generate_random_bytes((unsigned char*) &seed, 
>> sizeof(seed));
>> +    if (rv) {
>> +        apr_file_printf(errfile, "Unable to generate random bytes: 
>> %pm" NL, rv);
> 
> This creates the following compiler warning:
> 
> htpasswd.c:135: warning: format '%p' expects type 'void *', but argument 
> 3 has type 'apr_status_t'

Sorry, fixed that in r629218.



Mime
View raw message