summaryrefslogtreecommitdiffstats
path: root/generic/tclCkalloc.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-07-12 15:19:43 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-07-12 15:19:43 (GMT)
commit233554d0cc6171760f505761be59c1007f34e7d8 (patch)
tree15027b41013adb483bd34fc5fbe8cf8ed4151697 /generic/tclCkalloc.c
parenta3a031b7cc62babfe4ec83facc6ecadde511f2b0 (diff)
parent15d2827a35e23f3221491e1cfc89efa5545e9e9f (diff)
downloadtcl-233554d0cc6171760f505761be59c1007f34e7d8.zip
tcl-233554d0cc6171760f505761be59c1007f34e7d8.tar.gz
tcl-233554d0cc6171760f505761be59c1007f34e7d8.tar.bz2
Silence type match warnings in debug print.
Diffstat (limited to 'generic/tclCkalloc.c')
-rw-r--r--generic/tclCkalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCkalloc.c b/generic/tclCkalloc.c
index 9d3d6d7..c374ce5 100644
--- a/generic/tclCkalloc.c
+++ b/generic/tclCkalloc.c
@@ -179,9 +179,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, buf);
} else {