From 8d0cb507ae568c8da92f10ff1188d797bcaa3d1a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 17 Oct 2008 09:59:29 +1030 Subject: [PATCH] dmx: avoid hilarious #define Xcalloc xcalloc game. --- hw/dmx/input/dmxmotion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/dmx/input/dmxmotion.c b/hw/dmx/input/dmxmotion.c index e7f5b5919..73580a215 100644 --- a/hw/dmx/input/dmxmotion.c +++ b/hw/dmx/input/dmxmotion.c @@ -113,7 +113,7 @@ void dmxPointerPutMotionEvent(DeviceIntPtr pDevice, * DMX_MOTION_SIZE); dmxLocal->head = 0; dmxLocal->tail = 0; - dmxLocal->valuators = xcalloc(sizeof(*dmxLocal->valuators), numAxes); + dmxLocal->valuators = calloc(sizeof(*dmxLocal->valuators), numAxes); } else { if (++dmxLocal->tail >= DMX_MOTION_SIZE) dmxLocal->tail = 0; if (dmxLocal->head == dmxLocal->tail)