diff --git a/windows/src/webview_install_form.rs b/windows/src/webview_install_form.rs index 69344d4..7a40e40 100644 --- a/windows/src/webview_install_form.rs +++ b/windows/src/webview_install_form.rs @@ -100,7 +100,7 @@ impl WebViewInstallForm { lp_buffer, cb_buffer, 0, - std::mem::transmute::<_, Com::IBindStatusCallback>(&&BindStatusCallback::new( + Com::IBindStatusCallback::from(BindStatusCallback::new( progress_bar_h_wnd, )), ) {