diff options
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 9994523..d3a2c77 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -60,9 +60,9 @@ newfloatobject(fval) register floatobject *op = (floatobject *) malloc(sizeof(floatobject)); if (op == NULL) return err_nomem(); - NEWREF(op); op->ob_type = &Floattype; op->ob_fval = fval; + NEWREF(op); return (object *) op; } |