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
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));
10 in = (unsigned char*)arg;