[PATCH libXi] Use a separate nclasses variable in XIQueryDevice

Peter Hutterer peter.hutterer at who-t.net
Tue Sep 27 18:14:08 PDT 2011


On Wed, Sep 28, 2011 at 01:33:11AM +0100, Daniel Stone wrote:
> Hi,
> 
> On 23 September 2011 00:08, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> >         lib->classes = Xmalloc(size_classes((xXIAnyInfo*)ptr, lib->num_classes));
> 
> I think this should be nclasses instead of lib->num_classes, no?

right, amended, thanks.

Cheers,
  Peter

> 
> With that:
> Reviewed-by: Daniel Stone <daniel at fooishbar.org>
> 
> Cheers,
> Daniel
> 


More information about the xorg-devel mailing list