diff options
author | nijtmans <nijtmans@noemail.net> | 2011-01-18 10:02:02 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2011-01-18 10:02:02 (GMT) |
commit | 826a2c8dc74ce2233fc37d4fc366c7fc5405ba8e (patch) | |
tree | d024a01a23bca66395b5d830b9ff79ab3c1ea6a0 /generic/tclPreserve.c | |
parent | b9737a30675c10440f9cd247c9989f2a82f19665 (diff) | |
download | tcl-826a2c8dc74ce2233fc37d4fc366c7fc5405ba8e.zip tcl-826a2c8dc74ce2233fc37d4fc366c7fc5405ba8e.tar.gz tcl-826a2c8dc74ce2233fc37d4fc366c7fc5405ba8e.tar.bz2 |
Various mismatches between Tcl_Panic format string and its arguments,
discovered thanks to [Bug 3159920]
FossilOrigin-Name: 6dd03122dc74cf6362ce00d9d5bb5e404775033f
Diffstat (limited to 'generic/tclPreserve.c')
-rw-r--r-- | generic/tclPreserve.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclPreserve.c b/generic/tclPreserve.c index 3c991ea..ef7616e 100644 --- a/generic/tclPreserve.c +++ b/generic/tclPreserve.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: tclPreserve.c,v 1.10 2007/03/21 18:02:51 dgp Exp $ + * RCS: @(#) $Id: tclPreserve.c,v 1.10.4.1 2011/01/18 10:02:03 nijtmans Exp $ */ #include "tclInt.h" @@ -240,7 +240,7 @@ Tcl_Release( * Reference not found. This is a bug in the caller. */ - Tcl_Panic("Tcl_Release couldn't find reference for 0x%x", clientData); + Tcl_Panic("Tcl_Release couldn't find reference for 0x%x", PTR2UINT(clientData)); } /* @@ -281,7 +281,7 @@ Tcl_EventuallyFree( } if (refPtr->mustFree) { Tcl_Panic("Tcl_EventuallyFree called twice for 0x%x", - clientData); + PTR2UINT(clientData)); } refPtr->mustFree = 1; refPtr->freeProc = freeProc; |