diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-05-10 07:36:56 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-05-10 07:36:56 (GMT) |
commit | a94568a7535de60f1144e4eea0d027b87017a4b4 (patch) | |
tree | 5a8f696ca440a296b18521be17920b48f2021e4c /Python | |
parent | 5467d4c0e31e9db305a4899a44d7978f83e96649 (diff) | |
download | cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.zip cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.tar.gz cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.tar.bz2 |
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 ba8b945..805c519 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; |