[PATCH (v5) evdev 2/4] Add experimental XI 2.1 multitouch support

Cyril Brulebois kibi at debian.org
Sun Jan 23 16:09:52 PST 2011


Daniel Stone <daniel at fooishbar.org> (19/01/2011):
> +#ifdef MULTITOUCH
> +    free(pEvdev->mtMask);
> +    pEvdev->mtMask = NULL;
> +    for (i = 0; i < EVDEV_MAXQUEUE; i++)
> +        free(pEvdev->queue[i].touchMask);
> +        pEvdev->queue[i].touchMask = NULL;
> +#endif

Missing {} here.

[Thank you, gcc!
evdev.c: In function ‘EvdevAddAbsClass’:
evdev.c:1571: warning: array subscript is above array bounds
]

KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110124/88f6e9de/attachment.pgp>


More information about the xorg-devel mailing list