Cast byte to int. Bytes could be negative in java and, obviously, not in ECMA-119's size-holder entries %)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
275cb4f3df
commit
c721c30389
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ public class ISO9660 {
|
|||
|
||||
int entryOffset = 0;
|
||||
while (entryOffset < entry.getDataSize()){
|
||||
byte entryLength = bytes[entryOffset];
|
||||
int entryLength = Byte.toUnsignedInt(bytes[entryOffset]);
|
||||
|
||||
if (entryLength == 0)
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue