diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2005-03-17 17:06:12 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2005-03-17 17:06:12 +0000 |
commit | edbadb8e980bbc688f7fc9e6329840c6db5f73b8 (patch) | |
tree | 6bb7b47d6a6fb942f67dfca8aa8feba3463b88e5 | |
parent | 9d48e90850031681840c9271445dacc4359f4fe5 (diff) | |
download | httpd-edbadb8e980bbc688f7fc9e6329840c6db5f73b8.tar.gz |
Clean up emit for size truncation. Division here ensures we fit nicely.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@157946 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | ssl_engine_vars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl_engine_vars.c b/ssl_engine_vars.c index 58a974e53c..4e625ce5a0 100644 --- a/ssl_engine_vars.c +++ b/ssl_engine_vars.c @@ -489,7 +489,7 @@ static char *ssl_var_lookup_ssl_cert_remain(apr_pool_t *p, ASN1_UTCTIME *tm) return apr_pstrdup(p, "0"); } - diff = (apr_time_sec(then) - apr_time_sec(now)) / (60*60*24); + diff = (long)(apr_time_sec(then) - apr_time_sec(now)) / (60*60*24)); return diff > 0 ? apr_ltoa(p, diff) : apr_pstrdup(p, "0"); } |