You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/01/26 13:39:49 UTC
cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
trawick 02/01/26 04:39:49
Modified: modules/experimental mod_mem_cache.c
Log:
get mod_mem_cache to compile with compilers that bother to check for
Function argument assignment between types "int*" and "long*"
Revision Changes Path
1.14 +3 -3 httpd-2.0/modules/experimental/mod_mem_cache.c
Index: mod_mem_cache.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_mem_cache.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mod_mem_cache.c 25 Jan 2002 20:09:33 -0000 1.13
+++ mod_mem_cache.c 26 Jan 2002 12:39:49 -0000 1.14
@@ -360,9 +360,9 @@
return OK;
}
-static int serialize_table( cache_header_tbl_t **obj,
- int*nelts,
- apr_table_t *table)
+static int serialize_table(cache_header_tbl_t **obj,
+ apr_ssize_t *nelts,
+ apr_table_t *table)
{
apr_table_entry_t *elts = (apr_table_entry_t *) table->a.elts;
apr_ssize_t i;