authorgravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2019-11-19 18:02:01+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-11-21 23:21:51-05:00
log4e6c1b676b30920fb333a6aa270bb42dc4cecc79
tree17497337d26c37cf2bbc7d68d2813c22fea5c661
parent4d9318cee075fbc662cb4e20a74c7f887c3a3da4
signaturelock-open Commit is signed but in an unrecognized format.

add cast to not hit #2561


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/coff.zig+1-1
...@@ -179,7 +179,7 @@ pub const Coff = struct {...@@ -179,7 +179,7 @@ pub const Coff = struct {
179 if (byte != 0 and i == buffer.len)179 if (byte != 0 and i == buffer.len)
180 return error.NameTooLong;180 return error.NameTooLong;
181181
182 return i;182 return @as(usize, i);
183 }183 }
184184
185 pub fn loadSections(self: *Coff) !void {185 pub fn loadSections(self: *Coff) !void {