]> granicus.if.org Git - apache/commitdiff
Nothing wrong with an int here, so make it explicit and kill the warning.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 1 Oct 2001 15:49:02 +0000 (15:49 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 1 Oct 2001 15:49:02 +0000 (15:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91217 13f79535-47bb-0310-9956-ffa450edef68

server/util_time.c

index 3db076bceab311edd8746975e994bee5628ad9be..f13b6f2ce8a41e8b2f86070606c8a2c4ad5aeabd 100644 (file)
@@ -157,7 +157,7 @@ static apr_status_t cached_explode(apr_exploded_time_t *xt, apr_time_t t,
         memcpy(&(cache_element->xt), xt, sizeof(apr_exploded_time_t));
         cache_element->t_validate = seconds;
     }
-    xt->tm_usec = t % APR_USEC_PER_SEC;
+    xt->tm_usec = (int)(t % APR_USEC_PER_SEC);
     return APR_SUCCESS;
 }