summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-08-30 00:32:51 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-08-30 00:32:51 (GMT)
commitdeb77e839498e0e72a1e6ac4273a826d25c34be4 (patch)
treee32f83c8aeb118b62312d5811a20d2a3d900f2f2
parent45c9ae5c974c24e466e6278b98da0b208dbcdb78 (diff)
downloadcpython-deb77e839498e0e72a1e6ac4273a826d25c34be4.zip
cpython-deb77e839498e0e72a1e6ac4273a826d25c34be4.tar.gz
cpython-deb77e839498e0e72a1e6ac4273a826d25c34be4.tar.bz2
Squash new compiler wng in debug build.
-rw-r--r--Objects/frameobject.c2
1 files changed, 1 insertions, 1 deletions
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. */