Missing @TypeOf

This commit is contained in:
Jarred Sumner
2021-10-06 19:31:19 -07:00
parent c2e9d49f69
commit cd273daa1b

View File

@@ -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);