diff --git a/app/src/ui/window/message_view.rs b/app/src/ui/window/message_view.rs index 1d18b7b..ced507c 100644 --- a/app/src/ui/window/message_view.rs +++ b/app/src/ui/window/message_view.rs @@ -25,7 +25,7 @@ mod imp { fn new() -> Self { Self { litehtml_callbacks: Rc::new(RefCell::new(litehtml_callbacks::Callbacks::new())), - litehtml_context: Rc::new(RefCell::new(0 as *mut core::ffi::c_void)), + litehtml_context: Rc::new(RefCell::new(std::ptr::null_mut::())), loaded: Rc::new(RefCell::new(false)), } }