From: Jeff Trawick Date: Wed, 30 Jan 2002 11:54:15 +0000 (+0000) Subject: zap a warning on AIX... given that time_t isn't an APR construct X-Git-Tag: 2.0.31~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b36512d5c03d41041620af6add6525da866538c;p=apache zap a warning on AIX... given that time_t isn't an APR construct 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 --- diff --git a/modules/proxy/proxy_ftp.c b/modules/proxy/proxy_ftp.c index 5a8a040afa..692f0e797a 100644 --- a/modules/proxy/proxy_ftp.c +++ b/modules/proxy/proxy_ftp.c @@ -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); }