commit | a94568a7535de60f1144e4eea0d027b87017a4b4 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sat May 10 07:36:56 2003 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sat May 10 07:36:56 2003 +0000 |
tree | 5a8f696ca440a296b18521be17920b48f2021e4c | |
parent | 5467d4c0e31e9db305a4899a44d7978f83e96649 [diff] [blame] |
Patch #734231: Update RiscOS support. In particular, correct riscospath.extsep, and use os.extsep throughout.
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 @@ goto exitUnchanged; } } - code = PyString_FromStringAndSize(codestr, codelen); + code = PyString_FromStringAndSize((char *)codestr, codelen); PyMem_Free(codestr); return code;