From a94568a7535de60f1144e4eea0d027b87017a4b4 Mon Sep 17 00:00:00 2001 From: "Martin v. Löwis" Date: Sat, 10 May 2003 07:36:56 +0000 Subject: Patch #734231: Update RiscOS support. In particular, correct riscospath.extsep, and use os.extsep throughout. --- Python/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python') 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; -- cgit v1.2.3-65-gdbad