Skip to content

Commit

Permalink
Change nullptr type
Browse files Browse the repository at this point in the history
  • Loading branch information
matzipan committed Nov 12, 2023
1 parent 523d36b commit 26d5344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/ui/window/message_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<core::ffi::c_void>())),
loaded: Rc::new(RefCell::new(false)),
}
}
Expand Down

0 comments on commit 26d5344

Please sign in to comment.