| author | |
| committer | |
| log | 3b29a72b3b59803307e9040a6832e579901211f3 |
| tree | 8b2bc9e2092dbebaed7d739eedb2875a46445f9e |
| parent | 84549b39550014ca85d34c93381cadbd93080a0e |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/zig/system.zig+1-1| ... | ... | @@ -225,7 +225,7 @@ pub const NativeTargetInfo = struct { |
| 225 | 225 | }, |
| 226 | 226 | .macosx => { |
| 227 | 227 | var product_version: [32]u8 = undefined; |
| 228 | var size: usize = @sizeOf(@TypeOf(product_version)); | |
| 228 | var size: usize = product_version.len; | |
| 229 | 229 | |
| 230 | 230 | // The osproductversion sysctl was introduced first with |
| 231 | 231 | // High Sierra, thankfully that's also the baseline that Zig |