summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-19 05:40:44 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-19 05:40:44 (GMT)
commit0f2783cb4cce5fdc073312225d6b5a1b84e4102b (patch)
tree5864479bdfcdf2dd627d51a9fd24980a22220608 /Include
parentccff78525889fe2fa1a3512c4084a407994f9ce3 (diff)
downloadcpython-0f2783cb4cce5fdc073312225d6b5a1b84e4102b.zip
cpython-0f2783cb4cce5fdc073312225d6b5a1b84e4102b.tar.gz
cpython-0f2783cb4cce5fdc073312225d6b5a1b84e4102b.tar.bz2
Use Py_ssize_t
Diffstat (limited to 'Include')
-rw-r--r--Include/setobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/setobject.h b/Include/setobject.h
index cc93968..a16c2f7 100644
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -35,14 +35,14 @@ typedef struct _setobject PySetObject;
struct _setobject {
PyObject_HEAD
- int fill; /* # Active + # Dummy */
- int used; /* # Active */
+ Py_ssize_t fill; /* # Active + # Dummy */
+ Py_ssize_t used; /* # Active */
/* The table contains mask + 1 slots, and that's a power of 2.
* We store the mask instead of the size because the mask is more
* frequently needed.
*/
- int mask;
+ Py_ssize_t mask;
/* table points to smalltable for small tables, else to
* additional malloc'ed memory. table is never NULL! This rule