mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
Pdb.openFile use []const u8 instead of []u8
This commit is contained in:
parent
129a4fb251
commit
7875649c24
@ -469,7 +469,7 @@ pub const Pdb = struct {
|
||||
|
||||
msf: Msf,
|
||||
|
||||
pub fn openFile(self: *Pdb, coff_ptr: *coff.Coff, file_name: []u8) !void {
|
||||
pub fn openFile(self: *Pdb, coff_ptr: *coff.Coff, file_name: []const u8) !void {
|
||||
self.in_file = try fs.cwd().openFile(file_name, .{ .intended_io_mode = .blocking });
|
||||
self.allocator = coff_ptr.allocator;
|
||||
self.coff = coff_ptr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user