Skip to content

Commit

Permalink
fix test regressions on windows from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Jan 4, 2018
1 parent d008e20 commit 7e65fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/os/index.zig
Expand Up @@ -1573,7 +1573,7 @@ pub fn selfExePath(allocator: &mem.Allocator) -> %[]u8 {
out_path.shrink(copied_amt);
return out_path.toOwnedSlice();
}
const new_len = (%return math.shlExact(out_path.len(), 1)) | 0b1;
const new_len = (out_path.len() << 1) | 0b1;
%return out_path.resize(new_len);
}
},
Expand Down

0 comments on commit 7e65fe7

Please sign in to comment.