diff options
author | dgp <dgp@users.sourceforge.net> | 2017-12-19 16:22:24 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-12-19 16:22:24 (GMT) |
commit | 77c0d1662a845a70d47d2bfbe97f8da58fbc41e1 (patch) | |
tree | ba3ec495e8d386603c7264e401d591c9188924c4 /generic/tclDisassemble.c | |
parent | 8fa6374b22b79c0ad8b2ff6e59edb4357b825484 (diff) | |
parent | ee66488c3683d1e2b6ac36f523638c42c5649433 (diff) | |
download | tcl-77c0d1662a845a70d47d2bfbe97f8da58fbc41e1.zip tcl-77c0d1662a845a70d47d2bfbe97f8da58fbc41e1.tar.gz tcl-77c0d1662a845a70d47d2bfbe97f8da58fbc41e1.tar.bz2 |
merge 8.7
Diffstat (limited to 'generic/tclDisassemble.c')
-rw-r--r-- | generic/tclDisassemble.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclDisassemble.c b/generic/tclDisassemble.c index 9e7edc9..f4447f1 100644 --- a/generic/tclDisassemble.c +++ b/generic/tclDisassemble.c @@ -267,7 +267,7 @@ DisassembleByteCodeObj( iPtr = (Interp *) *codePtr->interpHandle; TclNewObj(bufferObj); - if (codePtr->refCount <= 0) { + if (!codePtr->refCount) { return bufferObj; /* Already freed. */ } @@ -325,7 +325,7 @@ DisassembleByteCodeObj( int numCompiledLocals = procPtr->numCompiledLocals; Tcl_AppendPrintfToObj(bufferObj, - " Proc %p, refCt %d, args %d, compiled locals %d\n", + " Proc %p, refCt %u, args %d, compiled locals %d\n", procPtr, procPtr->refCount, procPtr->numArgs, numCompiledLocals); if (numCompiledLocals > 0) { |