[Minor] Handle lossy conversion of long to int

This commit is contained in:
Robert von Burg 2023-11-30 11:11:50 +01:00
parent ed16e969f2
commit 2ab8d95c0b
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class XmlOrderDao extends AbstractDao<Order> implements OrderDao {
return this.tx.getMetadataDao().querySize(subTypeRef, getDateRangePredicate(dateRange));
}
int size = 0;
long size = 0;
for (String type : types) {
SubTypeRef subTypeRef = getTypeRef(type);
size += this.tx.getMetadataDao().querySize(subTypeRef, getDateRangePredicate(dateRange));