summaryrefslogtreecommitdiff
path: root/src/Poly.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 16:49:59 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 16:49:59 -0200
commit3747f97f133b5fe8dea0d1991d68c4693d488aae (patch)
tree2af42e1578c93a08e8a2ab8078d1d2ed4eba9346 /src/Poly.c
parentf6f784c0f98c28915bd26d04e4d8839806e29877 (diff)
Janitor: make distcheck, compiler warnings, .gitignore.
Diffstat (limited to 'src/Poly.c')
-rw-r--r--src/Poly.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Poly.c b/src/Poly.c
index ee461d7..16599b2 100644
--- a/src/Poly.c
+++ b/src/Poly.c
@@ -99,7 +99,7 @@ XRenderComputeTrapezoids (Edge *edges,
qsort (edges, nedges, sizeof (Edge), CompareEdge);
y = edges[0].edge.p1.y;
- active = 0;
+ active = NULL;
inactive = 0;
while (active || inactive < nedges)
{
@@ -112,7 +112,7 @@ XRenderComputeTrapezoids (Edge *edges,
/* move this edge into the active list */
inactive++;
e->next = active;
- e->prev = 0;
+ e->prev = NULL;
if (active)
active->prev = e;
active = e;