From deb77e839498e0e72a1e6ac4273a826d25c34be4 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 30 Aug 2001 00:32:51 +0000 Subject: Squash new compiler wng in debug build. --- Objects/frameobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 5ad8afd..fd9a4e2 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -254,7 +254,7 @@ PyFrame_New(PyThreadState *tstate, PyCodeObject *code, PyObject *globals, } else extras = f->ob_size; - _Py_NewReference(f); + _Py_NewReference((PyObject *)f); } if (builtins == NULL) { /* No builtins! Make up a minimal one. */ -- cgit v0.12