diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-04-19 03:44:17 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-04-19 03:44:17 (GMT) |
commit | f64c90052fe4f82e7400a842c34138dc917df059 (patch) | |
tree | 87ad8c1d3450fd3aa0125be81b37a089e92a9e1c | |
parent | bcc182277ece2f4c78ab009fe325731cf99649e8 (diff) | |
download | cpython-f64c90052fe4f82e7400a842c34138dc917df059.zip cpython-f64c90052fe4f82e7400a842c34138dc917df059.tar.gz cpython-f64c90052fe4f82e7400a842c34138dc917df059.tar.bz2 |
Silence a compiler warning about incompatible pointer types.
-rw-r--r-- | Objects/frameobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 2a5ccd8..2153cd8 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -137,7 +137,7 @@ frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno) } /* We're now ready to look at the bytecode. */ - PyString_AsStringAndSize(f->f_code->co_code, &code, &code_len); + PyString_AsStringAndSize(f->f_code->co_code, (char **)&code, &code_len); min_addr = MIN(new_lasti, f->f_lasti); max_addr = MAX(new_lasti, f->f_lasti); |