]>
Commit | Line | Data |
---|---|---|
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; |