Skip to content

Commit

Permalink
fix cluster address
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglubiao committed Apr 11, 2019
1 parent 4ab4d7b commit dcbf773
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public class FAT {
lastOffset = offset;
}

currentCluster = buffer.getInt((int) offsetInBlock);
currentCluster = buffer.getInt((int) offsetInBlock) & 0x0FFFFFFF;
} while (currentCluster < FAT32_EOF_CLUSTER);

return result.toArray(new Long[0]);
Expand Down

0 comments on commit dcbf773

Please sign in to comment.