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/frameobject.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/frameobject.c')
-rw-r--r-- | Objects/frameobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 64fc52f..dcd760c 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -184,7 +184,7 @@ PyFrame_New(tstate, code, globals, locals) if (f == NULL) return (PyFrameObject *)PyErr_NoMemory(); f->ob_type = &PyFrame_Type; - _Py_NewReference(f); + _Py_NewReference((PyObject *)f); } else { f = free_list; @@ -199,7 +199,7 @@ PyFrame_New(tstate, code, globals, locals) else extras = f->f_nlocals + f->f_stacksize; f->ob_type = &PyFrame_Type; - _Py_NewReference(f); + _Py_NewReference((PyObject *)f); } if (builtins == NULL) { /* No builtins! Make up a minimal one. */ |