git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97195
13f79535-47bb-0310-9956-
ffa450edef68
};
/* cache handle information */
+
+/* XXX TODO On the next structure change/MMN bump,
+ * count must become an apr_off_t, representing
+ * the potential size of disk cached objects.
+ * Then dig for
+ * "XXX Bad Temporary Cast - see cache_object_t notes"
+ */
typedef struct cache_object cache_object_t;
struct cache_object {
char *key;
obj->vobj = dobj = apr_pcalloc(r->pool, sizeof(*dobj));
obj->key = apr_pstrdup(r->pool, key);
- obj->info.len = len;
+ /* XXX Bad Temporary Cast - see cache_object_t notes */
+ obj->info.len = (apr_size_t) len;
obj->complete = 0; /* Cache object is not complete */
dobj->name = obj->key;