summaryrefslogtreecommitdiff
path: root/tables
diff options
context:
space:
mode:
authorgstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2000-10-05 22:20:37 +0000
committergstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2000-10-05 22:20:37 +0000
commit85503e9cb51278f81263cad33ebc99f868dc21ac (patch)
tree6d36fbe7b3d0dd620fa4dde03b79633a8580fc45 /tables
parent9f434f9d3bb11ae0fb45e6652bc6f60456b1c824 (diff)
downloadlibapr-85503e9cb51278f81263cad33ebc99f868dc21ac.tar.gz
size_t should be an apr_size_t.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60548 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables')
-rw-r--r--tables/apr_hash.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tables/apr_hash.c b/tables/apr_hash.c
index 31ccc12aa..123d18fb2 100644
--- a/tables/apr_hash.c
+++ b/tables/apr_hash.c
@@ -86,7 +86,7 @@ struct apr_hash_entry_t {
apr_hash_entry_t *next;
int hash;
const void *key;
- size_t klen;
+ apr_size_t klen;
const void *val;
};
@@ -100,7 +100,7 @@ struct apr_hash_entry_t {
struct apr_hash_t {
apr_pool_t *pool;
apr_hash_entry_t **array;
- size_t count, max;
+ apr_size_t count, max;
};
#define INITIAL_MAX 15 /* tunable == 2^n - 1 */
@@ -114,7 +114,7 @@ struct apr_hash_t {
struct apr_hash_index_t {
apr_hash_t *ht;
apr_hash_entry_t *this, *next;
- size_t index;
+ apr_size_t index;
};
@@ -168,7 +168,7 @@ APR_EXPORT(apr_hash_index_t *) apr_hash_first(apr_hash_t *ht)
APR_EXPORT(void) apr_hash_this(apr_hash_index_t *hi,
const void **key,
- size_t *klen,
+ apr_size_t *klen,
void **val)
{
if (key) *key = hi->this->key;
@@ -207,7 +207,7 @@ static void resize_array(apr_hash_t *ht)
static apr_hash_entry_t **find_entry(apr_hash_t *ht,
const void *key,
- size_t klen,
+ apr_size_t klen,
const void *val)
{
apr_hash_entry_t **hep, *he;
@@ -282,7 +282,7 @@ static apr_hash_entry_t **find_entry(apr_hash_t *ht,
APR_EXPORT(void *) apr_hash_get(apr_hash_t *ht,
const void *key,
- size_t klen)
+ apr_size_t klen)
{
apr_hash_entry_t *he;
he = *find_entry(ht, key, klen, NULL);
@@ -294,7 +294,7 @@ APR_EXPORT(void *) apr_hash_get(apr_hash_t *ht,
APR_EXPORT(void) apr_hash_set(apr_hash_t *ht,
const void *key,
- size_t klen,
+ apr_size_t klen,
const void *val)
{
apr_hash_entry_t **hep;