Fixed incompatible types in HID attach/detach handling