From 77189e9e3c651f6ae422b88cd9a0f2411a82b2a9 Mon Sep 17 00:00:00 2001 From: Elfein Landers Date: Sat, 6 Aug 2022 21:24:40 -0700 Subject: [PATCH] error fix --- ableos/src/relib/time/kilotime.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ableos/src/relib/time/kilotime.rs b/ableos/src/relib/time/kilotime.rs index 6aa9e02f..bb39533e 100644 --- a/ableos/src/relib/time/kilotime.rs +++ b/ableos/src/relib/time/kilotime.rs @@ -25,8 +25,8 @@ impl Kilosecond { Self(days * 24 * 60 * 60 * 1000) } - pub fn s(&self) -> u16 { - self.0 % 1000 + pub fn s(&self) -> u32 { + (self.0 % 1000) } pub fn k(&self) -> u32 {