Skip to content

Commit

Permalink
Missing @TypeOf
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Oct 7, 2021
1 parent c2e9d49 commit cd273da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analytics/analytics_thread.zig
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ pub const GenerateHeader = struct {
pub var linux_os_name: std.c.utsname = undefined;

pub fn forLinux() Analytics.Platform {
linux_os_name = std.mem.zeroes(linux_os_name);
linux_os_name = std.mem.zeroes(@TypeOf(linux_os_name));

std.c.uname(&linux_os_name);

Expand Down

0 comments on commit cd273da

Please sign in to comment.