diff Objects/floatobject.c @ 11673:5e6e9e893acd legacy-trunk

The rest of the changes by Trent Mick and Dale Nagata for warning-free compilation on NT Alpha. Mostly added casts etc.
author Guido van Rossum <guido@python.org>
date Thu, 20 Jan 2000 22:32:56 +0000
parents cf7a0f1b7b48
children 74b7213fb609
line wrap: on
line diff
--- a/Objects/floatobject.c	Thu Jan 20 21:37:19 2000 +0000
+++ b/Objects/floatobject.c	Thu Jan 20 22:32:56 2000 +0000
@@ -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;
 }