]> granicus.if.org Git - apache/commitdiff
get mod_mem_cache to compile with compilers that bother to check for
authorJeff Trawick <trawick@apache.org>
Sat, 26 Jan 2002 12:39:49 +0000 (12:39 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 26 Jan 2002 12:39:49 +0000 (12:39 +0000)
  Function argument assignment between types "int*" and "long*"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93034 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_mem_cache.c

index 934e22c696685d79915f115d28d908cf747282d3..161617167975ad4954669cfdb4f7db296cb6f940 100644 (file)
@@ -360,9 +360,9 @@ static int remove_entity(cache_handle_t *h)
     
     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;