summary refs log tree commit diff
path: root/malloc/memusagestat.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-12-08 17:14:05 +0000
committerUlrich Drepper <drepper@redhat.com>2006-12-08 17:14:05 +0000
commit60608028117600c2ca2c2ef8c122d56da253cc78 (patch)
tree5135d6618261b3bffa0f8339d02445f59a896ed6 /malloc/memusagestat.c
parentf0d5e1f67bf5d856f7dad926746ca7170560e65f (diff)
downloadglibc-60608028117600c2ca2c2ef8c122d56da253cc78.tar.gz
glibc-60608028117600c2ca2c2ef8c122d56da253cc78.tar.xz
glibc-60608028117600c2ca2c2ef8c122d56da253cc78.zip
* malloc/memusage.c: Handle realloc with new size of zero and
	non-NULL pointer correctly.
	(me): Really write first record twice.
	(struct entry): Make format bi-arch safe.
	(dest): Write out more realloc statistics.
	* malloc/memusagestat.c (struct entry): Make format bi-arch safe.
Diffstat (limited to 'malloc/memusagestat.c')
-rw-r--r--malloc/memusagestat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/malloc/memusagestat.c b/malloc/memusagestat.c
index d8fc71b729..93ac2cd744 100644
--- a/malloc/memusagestat.c
+++ b/malloc/memusagestat.c
@@ -81,8 +81,8 @@ static struct argp argp =
 
 struct entry
 {
-  size_t heap;
-  size_t stack;
+  uint64_t heap;
+  uint64_t stack;
   uint32_t time_low;
   uint32_t time_high;
 };