]> granicus.if.org Git - apache/commitdiff
zap a warning on AIX... given that time_t isn't an APR construct
authorJeff Trawick <trawick@apache.org>
Wed, 30 Jan 2002 11:54:15 +0000 (11:54 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 30 Jan 2002 11:54:15 +0000 (11:54 +0000)
I don't know of a better fix

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93100 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_ftp.c

index 5a8a040afa63025e22a14a8e9135df2b18cb5f35..692f0e797ad1e28921dfd1e0b1024fbae1d7088f 100644 (file)
@@ -975,7 +975,8 @@ int ap_proxy_ftp_handler(request_rec *r, proxy_server_conf *conf,
                 break;
         if (*secs_str != '\0') {
             secs = atol(secs_str);
-            ap_table_add(r->headers_out, "Retry-After", apr_psprintf(p, "%lu", 60 * secs));
+            ap_table_add(r->headers_out, "Retry-After",
+                         apr_psprintf(p, "%lu", (unsigned long)(60 * secs)));
         }
         return ap_proxyerror(r, HTTP_SERVICE_UNAVAILABLE, ftpmessage);
     }