summaryrefslogtreecommitdiff
path: root/src/atimach64i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atimach64i2c.c')
-rw-r--r--src/atimach64i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atimach64i2c.c b/src/atimach64i2c.c
index 60d9e92..48ca078 100644
--- a/src/atimach64i2c.c
+++ b/src/atimach64i2c.c
@@ -296,7 +296,7 @@ ATITVAddOnProbe
I2CBusPtr pI2CBus
)
{
- I2CDevPtr pI2CDev = xnfcalloc(1, SizeOf(I2CDevRec));
+ I2CDevPtr pI2CDev = XNFcallocarray(1, SizeOf(I2CDevRec));
static const CARD8 ATITVAddOnAddresses[] = {0x70, 0x40, 0x78, 0x72, 0x42};