diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-08 12:48:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-08 12:48:35 (GMT) |
commit | 36098aafd9bbd015808f0607f94acc590d192e0d (patch) | |
tree | 9381bb4c2640a933674027bc6032b2d3b65cc3cb /generic/tclAlloc.c | |
parent | 48ce21e3a9c2c9da4e4674bf08275e378629a0e3 (diff) | |
parent | c561dfd719f6be6ea7616f20cbdba31798e31539 (diff) | |
download | tcl-36098aafd9bbd015808f0607f94acc590d192e0d.zip tcl-36098aafd9bbd015808f0607f94acc590d192e0d.tar.gz tcl-36098aafd9bbd015808f0607f94acc590d192e0d.tar.bz2 |
Rebase to trunk
Diffstat (limited to 'generic/tclAlloc.c')
-rw-r--r-- | generic/tclAlloc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclAlloc.c b/generic/tclAlloc.c index 64df1a2..fbd8f6e 100644 --- a/generic/tclAlloc.c +++ b/generic/tclAlloc.c @@ -661,14 +661,14 @@ mstats( fprintf(stderr, "\nused:\t"); for (i = 0; i < NBUCKETS; i++) { - fprintf(stderr, " %" TCL_LL_MODIFIER "d", (Tcl_WideInt)numMallocs[i]); + fprintf(stderr, " %" TCL_Z_MODIFIER "d", numMallocs[i]); totalUsed += numMallocs[i] * (1 << (i + 3)); } - fprintf(stderr, "\n\tTotal small in use: %" TCL_LL_MODIFIER "d, total free: %" TCL_LL_MODIFIER "d\n", - (Tcl_WideInt)totalUsed, (Tcl_WideInt)totalFree); - fprintf(stderr, "\n\tNumber of big (>%d) blocks in use: %" TCL_LL_MODIFIER "d\n", - MAXMALLOC, (Tcl_WideInt)numMallocs[NBUCKETS]); + fprintf(stderr, "\n\tTotal small in use: %" TCL_Z_MODIFIER "d, total free: %" TCL_Z_MODIFIER "d\n", + totalUsed, totalFree); + fprintf(stderr, "\n\tNumber of big (>%d) blocks in use: %" TCL_Z_MODIFIER "d\n", + MAXMALLOC, numMallocs[NBUCKETS]); Tcl_MutexUnlock(allocMutexPtr); } |