[Minor] Handle lossy conversion of long to int

This commit is contained in:
Robert von Burg 2023-11-30 13:39:11 +01:00
parent 4b0b031b2b
commit 004c6775c0
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public abstract class AbstractDao<T extends StrolchRootElement> implements Strol
return this.tx.getMetadataDao().querySize(subTypeRef, file -> true);
}
int size = 0;
long size = 0;
for (String type : types) {
SubTypeRef subTypeRef = getTypeRef(type);
size += this.tx.getMetadataDao().querySize(subTypeRef, file -> true);