mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8286378: Address possibly lossy conversions in java.base
Reviewed-by: naoto, xuelei, bpb, alanb
This commit is contained in:
parent
0a6832b24c
commit
17c52789b7
32 changed files with 68 additions and 71 deletions
|
@ -323,7 +323,7 @@ public class PushbackInputStream extends FilterInputStream {
|
|||
if (n < pskip) {
|
||||
pskip = n;
|
||||
}
|
||||
pos += pskip;
|
||||
pos += (int) pskip;
|
||||
n -= pskip;
|
||||
}
|
||||
if (n > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue