diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-05-10 07:36:56 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-05-10 07:36:56 +0000 |
commit | a94568a7535de60f1144e4eea0d027b87017a4b4 (patch) | |
tree | 5a8f696ca440a296b18521be17920b48f2021e4c /Python | |
parent | Patch #612627: Add encoding attribute to file objects, and determine (diff) | |
download | cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.tar.gz cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.tar.bz2 cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.zip |
Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index ba8b945ec68..805c519cf93 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -420,7 +420,7 @@ optimize_code(PyObject *code, PyObject* consts) goto exitUnchanged; } } - code = PyString_FromStringAndSize(codestr, codelen); + code = PyString_FromStringAndSize((char *)codestr, codelen); PyMem_Free(codestr); return code; |