diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-11-24 20:28:46 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-11-24 20:28:46 -0500 |
| commit | 34b1ebefaab2e8f5c322bc96388bb4fefec31027 (patch) | |
| tree | d2a9909de0a9e19c495fcaaccfaa2c31f5f9169b /lib/std/coff.zig | |
| parent | b9f88c3552c0ac892aa6dba7ed8518a0aee51305 (diff) | |
| parent | 8309b6188d849c5d4c27c086b7759566d9f86716 (diff) | |
| download | zig-34b1ebefaab2e8f5c322bc96388bb4fefec31027.tar.gz zig-34b1ebefaab2e8f5c322bc96388bb4fefec31027.zip | |
Merge remote-tracking branch 'origin/master' into null-terminated-pointers
Diffstat (limited to 'lib/std/coff.zig')
| -rw-r--r-- | lib/std/coff.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/coff.zig b/lib/std/coff.zig index 3890151d09..c6d7660f8b 100644 --- a/lib/std/coff.zig +++ b/lib/std/coff.zig @@ -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 { |
