summaryrefslogtreecommitdiffstats
path: root/generic/tclPreserve.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2011-01-25 07:17:26 (GMT)
committernijtmans <nijtmans>2011-01-25 07:17:26 (GMT)
commit8c4abfd7a774a103d2540889848b6cc69a802e72 (patch)
tree683125dff47ec802e573d2035cc63c1743d0cb14 /generic/tclPreserve.c
parentbe53ecd582bc008f169ae619ccfe2106c401cc04 (diff)
downloadtcl-8c4abfd7a774a103d2540889848b6cc69a802e72.zip
tcl-8c4abfd7a774a103d2540889848b6cc69a802e72.tar.gz
tcl-8c4abfd7a774a103d2540889848b6cc69a802e72.tar.bz2
Don't miss 64-bit address bits in panic message.
Diffstat (limited to 'generic/tclPreserve.c')
-rw-r--r--generic/tclPreserve.c6
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;