mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
macos: transmute -> MaybeUninit
This commit is contained in:
parent
ea75474650
commit
86ec66bb6c
@ -126,10 +126,10 @@ impl ConnectionOps for Connection {
|
||||
0,
|
||||
timer_callback::<F>,
|
||||
&mut CFRunLoopTimerContext {
|
||||
copyDescription: std::mem::transmute(0usize),
|
||||
copyDescription: std::mem::MaybeUninit::zeroed().assume_init(),
|
||||
info: callback as _,
|
||||
release: release_callback::<F>,
|
||||
retain: std::mem::transmute(0usize),
|
||||
retain: std::mem::MaybeUninit::zeroed().assume_init(),
|
||||
version: 0,
|
||||
},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user