summaryrefslogtreecommitdiff
path: root/src/apm_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apm_driver.c')
-rw-r--r--src/apm_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apm_driver.c b/src/apm_driver.c
index 3c41b1c..eba57bb 100644
--- a/src/apm_driver.c
+++ b/src/apm_driver.c
@@ -316,7 +316,7 @@ GetAccelPitchValues(ScrnInfoPtr pScrn)
int linep[] = {640, 800, 1024, 1152, 1280, 0};
if (sizeof linep > 0) {
- linePitches = (int *)xnfalloc(sizeof linep);
+ linePitches = (int *)XNFalloc(sizeof linep);
memcpy(linePitches, linep, sizeof linep);
}