fix: windows build with zig 0.14.0-dev.3039

This commit is contained in:
CJ van den Berg 2025-02-04 23:32:40 +01:00
parent 53045123c6
commit d503f3c197
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 44 additions and 10 deletions

View file

@ -145,7 +145,7 @@ fn getConfig() *gui_config {
}
fn getFieldDefault(field: std.builtin.Type.StructField) ?*const field.type {
return @alignCast(@ptrCast(field.default_value orelse return null));
return @alignCast(@ptrCast(field.default_value_ptr orelse return null));
}
fn getDefaultFontFace() FontFace {