From 8ea61f1a83985e38627318d19ec7a3febdb5cacd Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 15 Mar 2006 09:17:20 +0000 Subject: [PATCH] Revert rev 43041, which introduced the "z" format qualifier unique to Python 2.5. --- Modules/_ctypes/cfield.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/_ctypes/cfield.c b/Modules/_ctypes/cfield.c index 3e759fef72..de41571b10 100644 --- a/Modules/_ctypes/cfield.c +++ b/Modules/_ctypes/cfield.c @@ -250,11 +250,11 @@ CField_repr(CFieldObject *self) name = ((PyTypeObject *)self->proto)->tp_name; if (bits) - result = PyString_FromFormat("", - name, self->offset, size, bits); + result = PyString_FromFormat("", + name, (int)self->offset, size, bits); else - result = PyString_FromFormat("", - name, self->offset, size); + result = PyString_FromFormat("", + name, (int)self->offset, size); return result; } -- 2.50.1