Mercurial > hg > xemacs-beta
diff src/dynarr.c @ 647:b39c14581166
[xemacs-hg @ 2001-08-13 04:45:47 by ben]
removal of unsigned, size_t, etc.
author | ben |
---|---|
date | Mon, 13 Aug 2001 04:46:48 +0000 |
parents | abe6d1db359e |
children | fdefd0186b75 |
line wrap: on
line diff
--- a/src/dynarr.c Wed Aug 08 12:15:04 2001 +0000 +++ b/src/dynarr.c Mon Aug 13 04:46:48 2001 +0000 @@ -214,10 +214,10 @@ what was requested of it is returned in MALLOC_OVERHEAD in STATS. See the comment above the definition of this structure. */ -size_t +Memory_Count Dynarr_memory_usage (void *d, struct overhead_stats *stats) { - size_t total = 0; + Memory_Count total = 0; Dynarr *dy = (Dynarr *) d; /* We have to be a bit tricky here because not all of the @@ -226,7 +226,7 @@ if (dy->base) { - size_t malloc_used = malloced_storage_size (dy->base, + Memory_Count malloc_used = malloced_storage_size (dy->base, dy->elsize * dy->max, 0); /* #### This may or may not be correct. Some Dynarrs would prefer that we use dy->cur instead of dy->largest here. */