diff --git a/src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp b/src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp index 1080d39be0..96303f2aa5 100644 --- a/src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp +++ b/src/add-ons/kernel/drivers/input/usb_hid/ProtocolHandler.cpp @@ -89,7 +89,7 @@ ProtocolHandler::AddHandlers(HIDDevice *device, ProtocolHandler ***handlerList, for (uint32 i = 0; i < count; i++) { if (handlers[i] != NULL) - *handlerList[(*handlerCount)++] = handlers[i]; + (*handlerList)[(*handlerCount)++] = handlers[i]; } TRACE("added %ld handlers for hid device\n", *handlerCount);