diff options
author | dgp <dgp@users.sourceforge.net> | 2011-07-12 15:51:07 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-07-12 15:51:07 (GMT) |
commit | 288e51403ae0903966010fff322e3b72086739ed (patch) | |
tree | 82d95fc8154cecbe835ac0b50b7c038cc24c2d90 /generic | |
parent | ac4b4eb41b2a7a2205a0a89db2b0cda2025d8fde (diff) | |
parent | c7a0c81b33d15b3d7aa517fafe5e87e34b7cf83c (diff) | |
download | tcl-288e51403ae0903966010fff322e3b72086739ed.zip tcl-288e51403ae0903966010fff322e3b72086739ed.tar.gz tcl-288e51403ae0903966010fff322e3b72086739ed.tar.bz2 |
merge to trunk
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclCkalloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclCkalloc.c b/generic/tclCkalloc.c index 056841d..5b5a0d6 100644 --- a/generic/tclCkalloc.c +++ b/generic/tclCkalloc.c @@ -185,9 +185,9 @@ TclDumpMemoryInfo(ClientData clientData, int flags) total_mallocs, total_frees, current_malloc_packets, - current_bytes_malloced, + (unsigned long)current_bytes_malloced, maximum_malloc_packets, - maximum_bytes_malloced); + (unsigned long)maximum_bytes_malloced); if (flags == 0) { fprintf((FILE *)clientData, "%s", buf); } else { @@ -852,9 +852,9 @@ MemoryCmd( "%-25s %10d\n%-25s %10d\n%-25s %10d\n%-25s %10lu\n%-25s %10d\n%-25s %10lu\n", "total mallocs", total_mallocs, "total frees", total_frees, "current packets allocated", current_malloc_packets, - "current bytes allocated", current_bytes_malloced, + "current bytes allocated", (unsigned long)current_bytes_malloced, "maximum packets allocated", maximum_malloc_packets, - "maximum bytes allocated", maximum_bytes_malloced)); + "maximum bytes allocated", (unsigned long)maximum_bytes_malloced)); return TCL_OK; } if (strcmp(argv[1],"init") == 0) { |