282437dff5
Aleksander Piotrowski <aleksander dot piotrowski at nic dot com dot pl>
15 lines
549 B
Plaintext
15 lines
549 B
Plaintext
$OpenBSD: patch-Modules__tkinter_c,v 1.1.1.1 2003/12/31 17:38:33 sturm Exp $
|
|
--- Modules/_tkinter.c.orig 2003-12-13 15:14:23.000000000 +0100
|
|
+++ Modules/_tkinter.c 2003-12-13 15:14:41.000000000 +0100
|
|
@@ -807,8 +807,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 0x%.16lx>",
|
|
+ self->value->typePtr->name, (long)self->value);
|
|
return PyString_FromString(buf);
|
|
}
|
|
|