summaryrefslogtreecommitdiff
path: root/tables/apr_tables.c
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-05-16 05:30:52 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-05-16 05:30:52 +0000
commit22c3e557283950e9ba8afb403c83e93dbeab6a3b (patch)
tree9b5c141c29ce4f9039ae69d5f41e3df5647d75f3 /tables/apr_tables.c
parent55f05d65e92ff3f1e83b9e5af5b9bb6a0a888db5 (diff)
downloadlibapr-22c3e557283950e9ba8afb403c83e93dbeab6a3b.tar.gz
Sing, "we are apr"... and make all hash functions accept apr_ssize_t
if we are going to bury -1 flags (I'd prefer the flag cast to apr_size_t and use that value throughout the hash api, however.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61649 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables/apr_tables.c')
-rw-r--r--tables/apr_tables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tables/apr_tables.c b/tables/apr_tables.c
index ef6bc17e2..b2cf518db 100644
--- a/tables/apr_tables.c
+++ b/tables/apr_tables.c
@@ -221,7 +221,8 @@ APR_DECLARE(char *) apr_array_pstrcat(apr_pool_t *p,
const char sep)
{
char *cp, *res, **strpp;
- int i, len;
+ apr_size_t len;
+ int i;
if (arr->nelts <= 0 || arr->elts == NULL) { /* Empty table? */
return (char *) apr_pcalloc(p, 1);