Unify type conversion
This commit is contained in:
parent
614e493e5f
commit
99d6caa3d9
@ -161,7 +161,7 @@ public final class Usb4JavaConfiguration implements UsbConfiguration
|
||||
@Override
|
||||
public Usb4JavaInterface getUsbInterface(final byte number)
|
||||
{
|
||||
return this.activeSettings.get((int) number);
|
||||
return this.activeSettings.get(number & 0xff);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user