diff Python/compile.c @ 29066:90342f395721 legacy-trunk

Patch #734231: Update RiscOS support. In particular, correct riscospath.extsep, and use os.extsep throughout.
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 10 May 2003 07:36:56 +0000
parents 1763d9d3fd9d
children ce1d7e10f49e
line wrap: on
line diff
--- a/Python/compile.c	Sat May 10 07:10:12 2003 +0000
+++ b/Python/compile.c	Sat May 10 07:36:56 2003 +0000
@@ -420,7 +420,7 @@
 			goto exitUnchanged;
 		}
 	}
-	code = PyString_FromStringAndSize(codestr, codelen);
+	code = PyString_FromStringAndSize((char *)codestr, codelen);
 	PyMem_Free(codestr);
 	return code;