summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dix/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/cursor.c b/dix/cursor.c
index f29cb1125..6bff44723 100644
--- a/dix/cursor.c
+++ b/dix/cursor.c
@@ -152,7 +152,7 @@ CheckForEmptyMask(CursorBitsPtr bits)
if (bits->argb)
{
CARD32 *argb = bits->argb;
- int n = bits->width * bits->height;
+ n = bits->width * bits->height;
while (n--)
if (*argb++ & 0xff000000) return;
}