Skip to content

Commit 271e73f

Browse files
committed
https://github.com/umjammer/vavi-nio-file-discutils/security/code-scanning/86
1 parent 1af32f7 commit 271e73f

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/discUtils/registry

1 file changed

+1
-1
lines changed

src/main/java/discUtils/registry/Bin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public void freeCell(int index) {
103103
}
104104
// If there's a free cell after this one, combine
105105
if (i < freeCells.size() && freeCells.get(i).getOffset() == freeIndex + len) {
106-
len += freeCells.get(i).getCount();
106+
len += (int) freeCells.get(i).getCount();
107107
freeCells.remove(i);
108108
}
109109

0 commit comments

Comments
 (0)