Fixed a typo and a warning

This commit is contained in:
Markus Ewald 2025-07-09 10:51:32 +02:00
parent bedd49ce17
commit 1d955c1506
3 changed files with 4 additions and 4 deletions

View file

@ -599,7 +599,7 @@ namespace Nuclex.Avalonia.Collections {
);
if(!this.fetchedPages[pageIndex]) {
int count = Math.Min(
this.assumedCount.Value - (this.pageSize * pageIndex),
this.assumedCount!.Value - (this.pageSize * pageIndex),
this.pageSize
);