diff options
Diffstat (limited to 'ext/web/timers.rs')
-rw-r--r-- | ext/web/timers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/timers.rs b/ext/web/timers.rs index 5b1310792..6026b7c3b 100644 --- a/ext/web/timers.rs +++ b/ext/web/timers.rs @@ -51,7 +51,7 @@ where // SAFETY: buffer is at least 8 bytes long. unsafe { std::slice::from_raw_parts_mut(buf.as_mut_ptr() as _, 2) }; buf[0] = seconds as u32; - buf[1] = subsec_nanos as u32; + buf[1] = subsec_nanos; } pub struct TimerHandle(Rc<CancelHandle>); |