mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 06:04:49 +00:00
dmx: avoid hilarious #define Xcalloc xcalloc game.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user