Unify type conversion

This commit is contained in:
Klaus Reimer 2013-02-24 21:43:55 +01:00
parent 614e493e5f
commit 99d6caa3d9

View File

@ -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);
}
/**