mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 08:00:15 +01:00
dmx: avoid hilarious #define Xcalloc xcalloc game.
This commit is contained in:
parent
8a23707b86
commit
8d0cb507ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue