We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb6c02d commit 3d17287Copy full SHA for 3d17287
1 file changed
src/backends/windows_webview/bindings.zig
@@ -270,7 +270,7 @@ pub const Symbols = struct {
270
271
const create_environment_proc = GetProcAddress(loader, "CreateCoreWebView2EnvironmentWithOptions") orelse
272
return error.MissingDynamicSymbol;
273
- const create_environment: CreateCoreWebView2EnvironmentWithOptionsFn = @ptrCast(create_environment_proc);
+ const create_environment: CreateCoreWebView2EnvironmentWithOptionsFn = @ptrCast(@alignCast(create_environment_proc));
274
275
return .{
276
.loader = loader,
0 commit comments