Skip to content

Commit 3d17287

Browse files
committed
fixed windows build
1 parent bb6c02d commit 3d17287

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backends/windows_webview/bindings.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ pub const Symbols = struct {
270270

271271
const create_environment_proc = GetProcAddress(loader, "CreateCoreWebView2EnvironmentWithOptions") orelse
272272
return error.MissingDynamicSymbol;
273-
const create_environment: CreateCoreWebView2EnvironmentWithOptionsFn = @ptrCast(create_environment_proc);
273+
const create_environment: CreateCoreWebView2EnvironmentWithOptionsFn = @ptrCast(@alignCast(create_environment_proc));
274274

275275
return .{
276276
.loader = loader,

0 commit comments

Comments
 (0)