summaryrefslogtreecommitdiff
path: root/server/util_time.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-10-01 15:49:02 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-10-01 15:49:02 +0000
commitbee1734a71c456601abcbea6eb7886f864ec9790 (patch)
tree1c25f74c69e625f7f5b505246506eaacd0a8bfa1 /server/util_time.c
parent8b54a808a90a5573ab4d07942619fbf8c2226705 (diff)
downloadhttpd-bee1734a71c456601abcbea6eb7886f864ec9790.tar.gz
Nothing wrong with an int here, so make it explicit and kill the warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91217 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_time.c')
-rw-r--r--server/util_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/util_time.c b/server/util_time.c
index 3db076bcea..f13b6f2ce8 100644
--- a/server/util_time.c
+++ b/server/util_time.c
@@ -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;
}