]> git.pld-linux.org Git - packages/python3.git/commitdiff
- buildfix
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 29 Jun 2009 14:56:15 +0000 (14:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python3-cast-fix.patch -> 1.1

python3-cast-fix.patch [new file with mode: 0644]

diff --git a/python3-cast-fix.patch b/python3-cast-fix.patch
new file mode 100644 (file)
index 0000000..21ba1e1
--- /dev/null
@@ -0,0 +1,11 @@
+--- Python-3.1/Modules/python.c~       2009-05-29 18:22:26.000000000 +0200
++++ Python-3.1/Modules/python.c        2009-06-29 16:18:12.800560478 +0200
+@@ -57,7 +57,7 @@
+       /* Overallocate; as multi-byte characters are in the argument, the
+          actual output could use less memory. */
+       argsize = strlen(arg) + 1;
+-      res = PyMem_Malloc(argsize*sizeof(wchar_t));
++      res = (wchar_t *)PyMem_Malloc(argsize*sizeof(wchar_t));
+       if (!res) goto oom;
+       in = (unsigned char*)arg;
+       out = res;
This page took 0.035878 seconds and 4 git commands to generate.