diff options
author | nijtmans <nijtmans@noemail.net> | 2011-01-25 07:17:25 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2011-01-25 07:17:25 (GMT) |
commit | b580e119a21182b3b45e8e6345d8b5006c0147cd (patch) | |
tree | 683125dff47ec802e573d2035cc63c1743d0cb14 /generic/tclPreserve.c | |
parent | 318cac60ffba6630e47ad01a2747b68369d182bc (diff) | |
download | tcl-b580e119a21182b3b45e8e6345d8b5006c0147cd.zip tcl-b580e119a21182b3b45e8e6345d8b5006c0147cd.tar.gz tcl-b580e119a21182b3b45e8e6345d8b5006c0147cd.tar.bz2 |
Don't miss 64-bit address bits in panic message.
FossilOrigin-Name: 8f2403f53ed67c787b26d2b35d45d3e182164c0f
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 427ba77..5612f41 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.13 2011/01/18 08:43:53 nijtmans Exp $ + * RCS: @(#) $Id: tclPreserve.c,v 1.14 2011/01/25 07:17:26 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", PTR2UINT(clientData)); + Tcl_Panic("Tcl_Release couldn't find reference for %p", clientData); } /* @@ -280,7 +280,7 @@ Tcl_EventuallyFree( continue; } if (refPtr->mustFree) { - Tcl_Panic("Tcl_EventuallyFree called twice for 0x%x", PTR2UINT(clientData)); + Tcl_Panic("Tcl_EventuallyFree called twice for %p", clientData); } refPtr->mustFree = 1; refPtr->freeProc = freeProc; |