summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-07-12 16:05:43 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-07-12 16:05:43 (GMT)
commita794c019fc0416aa27cb0dde1889e3486725aa4c (patch)
treef6c583ac1ec4985f3cd1d3eac93ce909c3f86436 /generic/tclAssembly.c
parentab10db7f7cc5c8ab1e1716443f808e4d99f1f8ef (diff)
downloadtcl-a794c019fc0416aa27cb0dde1889e3486725aa4c.zip
tcl-a794c019fc0416aa27cb0dde1889e3486725aa4c.tar.gz
tcl-a794c019fc0416aa27cb0dde1889e3486725aa4c.tar.bz2
platform portable type matching in debug prints
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r--generic/tclAssembly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index 754941f..1b87886 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -1035,8 +1035,8 @@ TclAssembleCode(
#ifdef TCL_COMPILE_DEBUG
if ((tclTraceCompile >= 2) && (envPtr->procPtr == NULL)) {
- printf(" %4d Assembling: ",
- envPtr->codeNext - envPtr->codeStart);
+ printf(" %4ld Assembling: ",
+ (long)(envPtr->codeNext - envPtr->codeStart));
TclPrintSource(stdout, parsePtr->commandStart,
TclMin(instLen, 55));
printf("\n");