]> git.pld-linux.org Git - packages/xorg-xserver-server.git/blobdiff - xorg-xserver-server-mitri.patch
- new
[packages/xorg-xserver-server.git] / xorg-xserver-server-mitri.patch
diff --git a/xorg-xserver-server-mitri.patch b/xorg-xserver-server-mitri.patch
new file mode 100644 (file)
index 0000000..d065d23
--- /dev/null
@@ -0,0 +1,27 @@
+Index: xorg/render/mitri.c
+===================================================================
+RCS file: /cvs/xorg/xserver/xorg/render/mitri.c,v
+retrieving revision 1.5
+diff -u -r1.5 mitri.c
+--- render/mitri.c     3 Jul 2005 07:02:08 -0000       1.5
++++ render/mitri.c     30 Apr 2006 20:29:53 -0000
+@@ -145,7 +145,7 @@
+     if (npoint < 3)
+       return;
+     ntri = npoint - 2;
+-    tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
++    tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
+     if (!tris)
+       return;
+     for (tri = tris; npoint >= 3; npoint--, points++, tri++)
+@@ -177,7 +177,7 @@
+     if (npoint < 3)
+       return;
+     ntri = npoint - 2;
+-    tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
++    tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
+     if (!tris)
+       return;
+     first = points++;
+
+
This page took 0.082891 seconds and 4 git commands to generate.