summaryrefslogtreecommitdiff
path: root/src/Poly.c
diff options
context:
space:
mode:
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;