diff options
Diffstat (limited to 'vendor/libghostty-vt/src/config/c_get.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/config/c_get.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/libghostty-vt/src/config/c_get.zig b/vendor/libghostty-vt/src/config/c_get.zig index dcfdc671..9bcb8d98 100644 --- a/vendor/libghostty-vt/src/config/c_get.zig +++ b/vendor/libghostty-vt/src/config/c_get.zig @@ -84,7 +84,7 @@ fn getValue(ptr_raw: *anyopaque, value: anytype) bool { ptr.* = @intCast(@as(Backing, @bitCast(value))); }, - .@"union" => |_| { + .@"union" => { if (@hasDecl(T, "cval")) { const PtrT = @typeInfo(@TypeOf(T.cval)).@"fn".return_type.?; const ptr: *PtrT = @ptrCast(@alignCast(ptr_raw)); |
