From 0f522f209b415444fd97ba5ecf30c13c179cede7 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 31 Aug 2024 10:22:57 +0300 Subject: Change MappedIt::get() to return u64 --- src/window/mapped.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window') diff --git a/src/window/mapped.rs b/src/window/mapped.rs index 54c045b3..60cf7cd9 100644 --- a/src/window/mapped.rs +++ b/src/window/mapped.rs @@ -105,8 +105,8 @@ impl MappedId { MappedId(MAPPED_ID_COUNTER.next()) } - pub fn get(self) -> u32 { - self.0 + pub fn get(self) -> u64 { + u64::from(self.0) } } -- cgit