Skip to content

Commit

Permalink
Merge pull request #2 from magnusja/develop
Browse files Browse the repository at this point in the history
update
  • Loading branch information
coolfile authored Apr 12, 2019
2 parents 4ab4d7b + a56398d commit 9f131b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion javafs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {

api('log4j:log4j:1.2.17')
api('de.mindpipe.android:android-logging-log4j:1.0.3')
api 'com.github.magnusja:java-fs:0.1.3'
api 'com.github.magnusja:java-fs:0.1.4'

api fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0-alpha4', {
Expand Down
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 9f131b6

Please sign in to comment.