Skip to content

parse_hid: fix parser error comparing int to str

Peter Hutterer requested to merge whot/hid-replay:wip/parsing-error into master

'size' is the result of a string.split() and cannot be compared to an integer.

    if id == report[0] and id_size < size and current_size < size:
TypeError: '<' not supported between instances of 'int' and 'str'

Reproducer: mouse.6.hid

Merge request reports