summaryrefslogtreecommitdiffstats
path: root/generic/tclAlloc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-19 15:46:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-19 15:46:25 (GMT)
commit34c238c1527a291d4d61f064dc9920e2b9bc51e0 (patch)
treee8f1321333fca2473d31022ea945deae1970eb5a /generic/tclAlloc.c
parent3f1dfde45f60e800df7a1ac981cf91fa2b25874b (diff)
parentee66488c3683d1e2b6ac36f523638c42c5649433 (diff)
downloadtcl-34c238c1527a291d4d61f064dc9920e2b9bc51e0.zip
tcl-34c238c1527a291d4d61f064dc9920e2b9bc51e0.tar.gz
tcl-34c238c1527a291d4d61f064dc9920e2b9bc51e0.tar.bz2
merge core-8-branch
Diffstat (limited to 'generic/tclAlloc.c')
-rw-r--r--generic/tclAlloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclAlloc.c b/generic/tclAlloc.c
index fbd8f6e..8a4b1c8 100644
--- a/generic/tclAlloc.c
+++ b/generic/tclAlloc.c
@@ -661,13 +661,13 @@ mstats(
fprintf(stderr, "\nused:\t");
for (i = 0; i < NBUCKETS; i++) {
- fprintf(stderr, " %" TCL_Z_MODIFIER "d", numMallocs[i]);
+ fprintf(stderr, " %" TCL_Z_MODIFIER "u", numMallocs[i]);
totalUsed += numMallocs[i] * (1 << (i + 3));
}
- fprintf(stderr, "\n\tTotal small in use: %" TCL_Z_MODIFIER "d, total free: %" TCL_Z_MODIFIER "d\n",
+ fprintf(stderr, "\n\tTotal small in use: %" TCL_Z_MODIFIER "u, total free: %" TCL_Z_MODIFIER "u\n",
totalUsed, totalFree);
- fprintf(stderr, "\n\tNumber of big (>%d) blocks in use: %" TCL_Z_MODIFIER "d\n",
+ fprintf(stderr, "\n\tNumber of big (>%d) blocks in use: %" TCL_Z_MODIFIER "u\n",
MAXMALLOC, numMallocs[NBUCKETS]);
Tcl_MutexUnlock(allocMutexPtr);