| ... | @@ -214,7 +214,7 @@ pub const File = extern struct { | ... | @@ -214,7 +214,7 @@ pub const File = extern struct { |
| 214 | pub fn getInfo( | 214 | pub fn getInfo( |
| 215 | self: *const File, | 215 | self: *const File, |
| 216 | comptime info: std.meta.Tag(Info), | 216 | comptime info: std.meta.Tag(Info), |
| 217 | buffer: []u8, | 217 | buffer: []align(@alignOf(@FieldType(Info, @tagName(info)))) u8, |
| 218 | ) GetInfoError!*@FieldType(Info, @tagName(info)) { | 218 | ) GetInfoError!*@FieldType(Info, @tagName(info)) { |
| 219 | const InfoType = @FieldType(Info, @tagName(info)); | 219 | const InfoType = @FieldType(Info, @tagName(info)); |
| 220 | | 220 | |