summaryrefslogtreecommitdiffstats
path: root/Include/longintrepr.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-10 16:55:33 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-10 16:55:33 (GMT)
commitb7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d (patch)
treeedb9e3c40a0dc0482692d27979565bcb5bacafdb /Include/longintrepr.h
parent10f8efd87add5850c54cad74353d42c03e903aae (diff)
downloadcpython-b7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d.zip
cpython-b7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d.tar.gz
cpython-b7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d.tar.bz2
make newvarobj's size arg signed
Diffstat (limited to 'Include/longintrepr.h')
-rw-r--r--Include/longintrepr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/longintrepr.h b/Include/longintrepr.h
index a5b1b36..2a911c2 100644
--- a/Include/longintrepr.h
+++ b/Include/longintrepr.h
@@ -62,7 +62,7 @@ typedef long stwodigits; /* signed variant of twodigits */
struct _longobject {
PyObject_HEAD
- int ob_size; /* XXX Hack! newvarobj() stores it as unsigned! */
+ int ob_size;
digit ob_digit[1];
};