mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
RefCountedSet: use usize for living count to avoid overflow
This commit is contained in:
@ -109,7 +109,7 @@ pub fn RefCountedSet(
|
||||
items: Offset(Item),
|
||||
|
||||
/// The number of living items currently stored in the set.
|
||||
living: Id = 0,
|
||||
living: usize = 0,
|
||||
|
||||
/// The next index to store an item at.
|
||||
/// Id 0 is reserved for unused items.
|
||||
|
Reference in New Issue
Block a user