summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-07-12 14:42:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-07-12 14:42:55 (GMT)
commit0b44568a3d94257675a1e678ef2066943a7d9c4e (patch)
tree81f6aad56c98cd8c2b04f73346041b39fe6528c1 /generic/tclCompile.c
parenta2a8a6857b489da97d000d959f49fba41d56239f (diff)
downloadtcl-0b44568a3d94257675a1e678ef2066943a7d9c4e.zip
tcl-0b44568a3d94257675a1e678ef2066943a7d9c4e.tar.gz
tcl-0b44568a3d94257675a1e678ef2066943a7d9c4e.tar.bz2
wip
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 63dbb2e..f29c54e 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -3555,13 +3555,13 @@ TclPrintByteCodeObj(interp, objPtr)
#endif
#ifdef TCL_COMPILE_STATS
fprintf(stdout,
- " Code %ld = header %lu+inst %d+litObj %lu+exc %lu+aux %lu+cmdMap %d\n",
- codePtr->structureSize,
- (sizeof(ByteCode) - (sizeof(size_t) + sizeof(Tcl_Time))),
+ " Code %u = header %u+inst %d+litObj %lu+exc %lu+aux %lu+cmdMap %d\n",
+ (unsigned int)codePtr->structureSize,
+ (unsigned int)(sizeof(ByteCode) - (sizeof(size_t) + sizeof(Tcl_Time))),
codePtr->numCodeBytes,
- (codePtr->numLitObjects * sizeof(Tcl_Obj *)),
- (codePtr->numExceptRanges * sizeof(ExceptionRange)),
- (codePtr->numAuxDataItems * sizeof(AuxData)),
+ (unsigned long)(codePtr->numLitObjects * sizeof(Tcl_Obj *)),
+ (unsigned long)(codePtr->numExceptRanges * sizeof(ExceptionRange)),
+ (unsigned long)(codePtr->numAuxDataItems * sizeof(AuxData)),
codePtr->numCmdLocBytes);
#endif /* TCL_COMPILE_STATS */