summaryrefslogtreecommitdiffstats
path: root/Objects/bufferobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 06:59:22 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 06:59:22 (GMT)
commite0e89f79201e2ee57ebd0cc4765793d870c0a5c0 (patch)
tree2333ae17ed3e93be9887a083c71a8b7a17927637 /Objects/bufferobject.c
parent2c95cc6d72957296c46bb11362359675a47e2085 (diff)
downloadcpython-e0e89f79201e2ee57ebd0cc4765793d870c0a5c0.zip
cpython-e0e89f79201e2ee57ebd0cc4765793d870c0a5c0.tar.gz
cpython-e0e89f79201e2ee57ebd0cc4765793d870c0a5c0.tar.bz2
Revert 42400.
Diffstat (limited to 'Objects/bufferobject.c')
-rw-r--r--Objects/bufferobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/bufferobject.c b/Objects/bufferobject.c
index 73f361e..b0227c1 100644
--- a/Objects/bufferobject.c
+++ b/Objects/bufferobject.c
@@ -246,15 +246,15 @@ buffer_repr(PyBufferObject *self)
return PyString_FromFormat("<%s buffer ptr %p, size %zd at %p>",
status,
self->b_ptr,
- (long)self->b_size,
+ self->b_size,
self);
else
return PyString_FromFormat(
"<%s buffer for %p, size %zd, offset %zd at %p>",
status,
self->b_base,
- (long)self->b_size,
- (long)self->b_offset,
+ self->b_size,
+ self->b_offset,
self);
}