commit | bffd683f7356d92d4504b2bcaa7221fab3f52f4e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Jan 20 22:32:56 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Jan 20 22:32:56 2000 +0000 |
tree | fb68ae112139013c715e82c4b03678feab52ab21 | |
parent | e0a928dc1ec74f487471d102ae6efacc92055aa6 [diff] [blame] |
The rest of the changes by Trent Mick and Dale Nagata for warning-free compilation on NT Alpha. Mostly added casts etc.
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 557a641..6430a98 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c
@@ -145,7 +145,7 @@ free_list = (PyFloatObject *)op->ob_type; op->ob_type = &PyFloat_Type; op->ob_fval = fval; - _Py_NewReference(op); + _Py_NewReference((PyObject *)op); return (PyObject *) op; }