diff options
author | Guido van Rossum <guido@python.org> | 2000-01-20 22:32:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-01-20 22:32:56 (GMT) |
commit | bffd683f7356d92d4504b2bcaa7221fab3f52f4e (patch) | |
tree | fb68ae112139013c715e82c4b03678feab52ab21 /Objects/intobject.c | |
parent | e0a928dc1ec74f487471d102ae6efacc92055aa6 (diff) | |
download | cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.zip cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.gz cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.bz2 |
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r-- | Objects/intobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c index 45c2186..00fdf82 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -168,7 +168,7 @@ PyInt_FromLong(ival) free_list = (PyIntObject *)v->ob_type; v->ob_type = &PyInt_Type; v->ob_ival = ival; - _Py_NewReference(v); + _Py_NewReference((PyObject *)v); #if NSMALLNEGINTS + NSMALLPOSINTS > 0 if (-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS) { /* save this one for a following allocation */ |