add cast to not hit #2561
This commit is contained in:
parent
4d9318cee0
commit
4e6c1b676b
@ -179,7 +179,7 @@ pub const Coff = struct {
|
||||
if (byte != 0 and i == buffer.len)
|
||||
return error.NameTooLong;
|
||||
|
||||
return i;
|
||||
return @as(usize, i);
|
||||
}
|
||||
|
||||
pub fn loadSections(self: *Coff) !void {
|
||||
|
Loading…
x
Reference in New Issue
Block a user