diff options
Diffstat (limited to 'src/ast_driver.c')
-rw-r--r-- | src/ast_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c index 8bb7f4f..0f078a2 100644 --- a/src/ast_driver.c +++ b/src/ast_driver.c @@ -678,7 +678,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags) pScrn->monitor->DDC = ASTDoDDC(pScrn, pAST->pEnt->index); /* Mode Valid */ - clockRanges = xnfcalloc(sizeof(ClockRange), 1); + clockRanges = XNFcallocarray(sizeof(ClockRange), 1); clockRanges->next = NULL; clockRanges->minClock = 9500; clockRanges->maxClock = ASTGetMaxDCLK(pScrn) * 1000; @@ -1253,7 +1253,7 @@ ASTGetRec(ScrnInfoPtr pScrn) if (pScrn->driverPrivate) return TRUE; - pScrn->driverPrivate = xnfcalloc(sizeof(ASTRec), 1); + pScrn->driverPrivate = XNFcallocarray(sizeof(ASTRec), 1); return TRUE; } |