8286378: Address possibly lossy conversions in java.base

Reviewed-by: naoto, xuelei, bpb, alanb
This commit is contained in:
Roger Riggs 2022-05-12 16:50:36 +00:00
parent 0a6832b24c
commit 17c52789b7
32 changed files with 68 additions and 71 deletions

View file

@ -297,7 +297,7 @@ public class CipherInputStream extends FilterInputStream {
if (n < 0) {
return 0;
}
ostart += n;
ostart += (int) n;
return n;
}