summaryrefslogtreecommitdiff
path: root/lib/pool_alloc.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-01-20 22:37:38 +0000
committerWayne Davison <wayned@samba.org>2005-01-20 22:37:38 +0000
commit707415d4fcd0f8fd7d5688268b94a17490ecfbc6 (patch)
tree27924110b82317622b8eb7c9c2d7d4ce2d94ad4c /lib/pool_alloc.c
parent9cea6ef1b64d0425afc09fe66bfbf96331c324ec (diff)
downloadrsync-707415d4fcd0f8fd7d5688268b94a17490ecfbc6.tar.gz
Use int64 instead of uint64.
Diffstat (limited to 'lib/pool_alloc.c')
-rw-r--r--lib/pool_alloc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/pool_alloc.c b/lib/pool_alloc.c
index 5cf9fbcd..c282db60 100644
--- a/lib/pool_alloc.c
+++ b/lib/pool_alloc.c
@@ -17,10 +17,10 @@ struct alloc_pool
/* statistical data */
unsigned long e_created; /* extents created */
unsigned long e_freed; /* extents detroyed */
- uint64 n_allocated; /* calls to alloc */
- uint64 n_freed; /* calls to free */
- uint64 b_allocated; /* cum. bytes allocated */
- uint64 b_freed; /* cum. bytes freed */
+ int64 n_allocated; /* calls to alloc */
+ int64 n_freed; /* calls to free */
+ int64 b_allocated; /* cum. bytes allocated */
+ int64 b_freed; /* cum. bytes freed */
};
struct pool_extent
@@ -34,7 +34,7 @@ struct pool_extent
struct align_test {
void *foo;
- uint64 bar;
+ int64 bar;
};
#define MINALIGN offsetof(struct align_test, bar)