[Python-checkins] r54873 - python/trunk/Objects/frameobject.c (original) (raw)

brett.cannon python-checkins at python.org
Thu Apr 19 05:44:23 CEST 2007


Author: brett.cannon Date: Thu Apr 19 05:44:17 2007 New Revision: 54873

Modified: python/trunk/Objects/frameobject.c Log: Silence a compiler warning about incompatible pointer types.

Modified: python/trunk/Objects/frameobject.c

--- python/trunk/Objects/frameobject.c (original) +++ python/trunk/Objects/frameobject.c Thu Apr 19 05:44:17 2007 @@ -137,7 +137,7 @@ } /* 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);


More information about the Python-checkins mailing list