Skip to content

Commit

Permalink
[Minor] Handle lossy conversion of long to int
Browse files Browse the repository at this point in the history
  • Loading branch information
eitch committed Nov 30, 2023
1 parent ed16e96 commit 2ab8d95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public long querySize(DateRange dateRange, String... types) {
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));
Expand Down

0 comments on commit 2ab8d95

Please sign in to comment.