Skip to content

Commit cdff079

Browse files
Fix type of skipped bytes counter
1 parent cb66608 commit cdff079

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/loci/common/BZip2Handle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public static boolean isBZip2File(String file) throws IOException {
105105
protected void resetStream() throws IOException {
106106
BufferedInputStream bis = new BufferedInputStream(
107107
new FileInputStream(file), RandomAccessInputStream.MAX_OVERHEAD);
108-
int skipped = 0;
108+
long skipped = 0;
109109
while (skipped < 2) {
110110
skipped += bis.skip(2 - skipped);
111111
}

0 commit comments

Comments
 (0)