Fix warning about int overflowing before being assigned to long
#exofixit PiperOrigin-RevId: 322322340
This commit is contained in:
parent
899a78fca9
commit
7ed729b175
@ -192,7 +192,7 @@ public final class FlacMetadataReader {
|
||||
data.skipBytes(1);
|
||||
int length = data.readUnsignedInt24();
|
||||
|
||||
long seekTableEndPosition = data.getPosition() + length;
|
||||
long seekTableEndPosition = (long) data.getPosition() + length;
|
||||
int seekPointCount = length / SEEK_POINT_SIZE;
|
||||
long[] pointSampleNumbers = new long[seekPointCount];
|
||||
long[] pointOffsets = new long[seekPointCount];
|
||||
|
Loading…
x
Reference in New Issue
Block a user