Skip to content

Commit 96fa62b

Browse files
committed
Fix JC build
1 parent 610c515 commit 96fa62b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/us/q3q/fido2/FIDO2Applet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ private short truncateRPId(byte[] rpIdBuf, short rpIdIdx, short rpIdLen, byte[]
934934
used += toCopy;
935935
}
936936

937-
if (MAX_RESIDENT_RP_ID_LENGTH - used < 3) {
937+
if ((short)(MAX_RESIDENT_RP_ID_LENGTH - used) < 3) {
938938
// No room for anything but the protocol bit we already copied
939939
rpIdLen = used;
940940
} else {

0 commit comments

Comments
 (0)