http://bugs.gentoo.org/show_bug.cgi?id=318937 http://boxster.ghz.cc/projects/nut/changeset/2407 Index: /trunk/drivers/libhid.c =================================================================== --- /trunk/drivers/libhid.c (revision 2336) +++ /trunk/drivers/libhid.c (revision 2407) @@ -142,5 +142,5 @@ int id = pData->ReportID; int r; - unsigned char buf[SMALLBUF]; + unsigned char buf[8]; /* Maximum size for low-speed USB devices */ if (rbuf->ts[id] + age > time(NULL)) { @@ -470,5 +470,5 @@ int HIDGetEvents(hid_dev_handle_t udev, HIDData_t **event, int eventsize) { - unsigned char buf[SMALLBUF]; + unsigned char buf[8]; /* Maximum size for low-speed USB devices */ int itemCount = 0; int buflen, r, i;