]> git.pld-linux.org Git - packages/python3.git/blame - python3-cast-fix.patch
- disable --with-computed-gotos (http://bugs.python.org/issue6603)
[packages/python3.git] / python3-cast-fix.patch
CommitLineData
4722eff3
AG
1--- Python-3.1/Modules/python.c~ 2009-05-29 18:22:26.000000000 +0200
2+++ Python-3.1/Modules/python.c 2009-06-29 16:18:12.800560478 +0200
3@@ -57,7 +57,7 @@
4 /* Overallocate; as multi-byte characters are in the argument, the
5 actual output could use less memory. */
6 argsize = strlen(arg) + 1;
7- res = PyMem_Malloc(argsize*sizeof(wchar_t));
8+ res = (wchar_t *)PyMem_Malloc(argsize*sizeof(wchar_t));
9 if (!res) goto oom;
10 in = (unsigned char*)arg;
11 out = res;
This page took 0.035697 seconds and 4 git commands to generate.