summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/rangeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c
index dcb7a19..18fed0a 100644
--- a/Objects/rangeobject.c
+++ b/Objects/rangeobject.c
@@ -40,7 +40,7 @@ newrangeobject(start, len, step, reps)
long start, len, step;
int reps;
{
- rangeobject *obj = (rangeobject *) newobject(&Rangetype);
+ rangeobject *obj = NEWOBJ(rangeobject, &Rangetype);
obj->start = start;
obj->len = len;