summaryrefslogtreecommitdiff
path: root/src/riva_cursor.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-11-21 15:35:06 -0800
committerIan Romanick <idr@us.ibm.com>2007-11-21 15:35:06 -0800
commite9ada35b4d24abd44bc5d811b59c6f25af5984f4 (patch)
tree2c7fd8cab0591eefea2f7dd03b3f24b298d4667d /src/riva_cursor.c
parentd483ecd851bb84014f1fa86f0ada4540b3ad801e (diff)
Build fix for recent removal of ALLOCATE_LOCAL and DEALLOCATE_LOCAL
Diffstat (limited to 'src/riva_cursor.c')
-rw-r--r--src/riva_cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/riva_cursor.c b/src/riva_cursor.c
index b8dc2bf..77a3bfe 100644
--- a/src/riva_cursor.c
+++ b/src/riva_cursor.c
@@ -72,13 +72,13 @@ RivaTransformCursor (RivaPtr pRiva)
int i, dwords;
dwords = (32 * 32) >> 1;
- if(!(tmp = ALLOCATE_LOCAL(dwords * 4))) return;
+ if(!(tmp = xcalloc(dwords * 4))) return;
RivaConvertCursor1555(pRiva, pRiva->curImage, (CARD16*)tmp);
for(i = 0; i < dwords; i++)
pRiva->riva.CURSOR[i] = tmp[i];
- DEALLOCATE_LOCAL(tmp);
+ xfree(tmp);
}
static void