fix size using int instead of long

This commit is contained in:
2024-06-30 22:46:20 +02:00
parent 0a582c3fbe
commit 47cf8b442d

View File

@@ -757,7 +757,7 @@ public class DhfsFileServiceImpl implements DhfsFileService {
@Override
public Long size(String uuid) {
int size = 0;
long size = 0;
NavigableMap<Long, String> chunksAll;
@@ -779,7 +779,7 @@ public class DhfsFileServiceImpl implements DhfsFileService {
size += getChunkSize(chunk.getValue());
}
return (long) size;
return size;
}
private JObject<Directory> getRoot() {