Ruediger Pluem wrote:


On 02/19/2008 06:05 PM, [EMAIL PROTECTED] 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.


Reply via email to