summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordas <das>2007-04-23 20:33:56 (GMT)
committerdas <das>2007-04-23 20:33:56 (GMT)
commitb2d416baafa945b216378335885f99238f38966e (patch)
tree2f5c20af8f2af9e9114e732d6557893ae4dfaf08 /generic/tclCompile.c
parent212710db2267a25e7ddef3a314ea551e835430b6 (diff)
downloadtcl-b2d416baafa945b216378335885f99238f38966e.zip
tcl-b2d416baafa945b216378335885f99238f38966e.tar.gz
tcl-b2d416baafa945b216378335885f99238f38966e.tar.bz2
* generic/tclCkalloc.c: fix warnings from gcc build configured with
* generic/tclCompile.c: --enable-64bit --enable-symbols=all. * generic/tclExecute.c:
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 690da17..0bfe9bf 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompile.c,v 1.116 2007/04/23 18:01:41 msofer Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.117 2007/04/23 20:33:56 das Exp $
*/
#include "tclInt.h"
@@ -3405,9 +3405,8 @@ TclPrintByteCodeObj(
*/
fprintf(stdout,
- "\nByteCode 0x%x, refCt %u, epoch %u, interp 0x%x (epoch %u)\n",
- (unsigned int) codePtr, codePtr->refCount,
- codePtr->compileEpoch, (unsigned int) iPtr,
+ "\nByteCode 0x%p, refCt %u, epoch %u, interp 0x%p (epoch %u)\n",
+ codePtr, codePtr->refCount, codePtr->compileEpoch, iPtr,
iPtr->compileEpoch);
fprintf(stdout, " Source ");
TclPrintSource(stdout, codePtr->source,
@@ -3444,8 +3443,8 @@ TclPrintByteCodeObj(
Proc *procPtr = codePtr->procPtr;
int numCompiledLocals = procPtr->numCompiledLocals;
fprintf(stdout,
- " Proc 0x%x, refCt %d, args %d, compiled locals %d\n",
- (unsigned int) procPtr, procPtr->refCount, procPtr->numArgs,
+ " Proc 0x%p, refCt %d, args %d, compiled locals %d\n",
+ procPtr, procPtr->refCount, procPtr->numArgs,
numCompiledLocals);
if (numCompiledLocals > 0) {
CompiledLocal *localPtr = procPtr->firstLocalPtr;