diff options
author | das <das> | 2006-08-28 08:47:05 (GMT) |
---|---|---|
committer | das <das> | 2006-08-28 08:47:05 (GMT) |
commit | cbb9f9765dfcb25ac116bc06e4cb33aba4b6d2d4 (patch) | |
tree | a63ae0bc789bfe87fa87017a34bf36bdad882124 /generic/tclCompile.c | |
parent | 1f7a4c65f4cdd102ebde7c2058fff469686829f8 (diff) | |
download | tcl-cbb9f9765dfcb25ac116bc06e4cb33aba4b6d2d4.zip tcl-cbb9f9765dfcb25ac116bc06e4cb33aba4b6d2d4.tar.gz tcl-cbb9f9765dfcb25ac116bc06e4cb33aba4b6d2d4.tar.bz2 |
fixed printf format warnings from gcc4 when TCL_COMPILE_STATS defined
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r-- | generic/tclCompile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 56aa708..4e85464 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.95 2006/08/17 17:43:38 dgp Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.96 2006/08/28 08:47:05 das Exp $ */ #include "tclInt.h" @@ -2930,8 +2930,8 @@ TclPrintByteCodeObj( #ifdef TCL_COMPILE_STATS fprintf(stdout, - " Code %d = header %d+inst %d+litObj %d+exc %d+aux %d+cmdMap %d\n", - codePtr->structureSize, + " Code %ld = header %ld+inst %d+litObj %ld+exc %ld+aux %ld+cmdMap %d\n", + (unsigned long) codePtr->structureSize, (sizeof(ByteCode) - (sizeof(size_t) + sizeof(Tcl_Time))), codePtr->numCodeBytes, (codePtr->numLitObjects * sizeof(Tcl_Obj *)), |