summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-11-13 11:13:35 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-11-13 11:13:35 (GMT)
commitfba73698240660d9154b6917b87dd333d6fb8284 (patch)
tree59897e4f17f73a79addb2d778c39f686c126b012 /Modules/_tkinter.c
parentdeb39b5fef12741d99619f6d25f1af287de883d0 (diff)
downloadcpython-fba73698240660d9154b6917b87dd333d6fb8284.zip
cpython-fba73698240660d9154b6917b87dd333d6fb8284.tar.gz
cpython-fba73698240660d9154b6917b87dd333d6fb8284.tar.bz2
Patch #1050475: Fix various x86_64 build issues
regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems. _tkinter.c: replace %.8x with %p for printing pointers. setup.py: add lib64 into the library directories.
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 852bde4..76c2a44 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -805,8 +805,8 @@ static PyObject *
PyTclObject_repr(PyTclObject *self)
{
char buf[50];
- PyOS_snprintf(buf, 50, "<%s object at 0x%.8x>",
- self->value->typePtr->name, (int)self->value);
+ PyOS_snprintf(buf, 50, "<%s object at %p>",
+ self->value->typePtr->name, self->value);
return PyString_FromString(buf);
}