From dbd30fe33a7830e03cab1c3dd87564c4dec19ff7 Mon Sep 17 00:00:00 2001 From: 190n Date: Thu, 1 May 2025 16:36:19 -0700 Subject: [PATCH] chore: fix windows debug build (#19406) --- src/sys.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys.zig b/src/sys.zig index 2ae5ba8702..f7b9b3e01b 100644 --- a/src/sys.zig +++ b/src/sys.zig @@ -1397,7 +1397,7 @@ pub fn openFileAtWindowsNtPath( bun.Output.debugWarn("NtCreateFile({}, {}) = {s} (file) = {d}\nYou are calling this function without normalizing the path correctly!!!", .{ dir, bun.fmt.utf16(path), @tagName(rc), @intFromPtr(result) }); } else { if (rc == .SUCCESS) { - log("NtCreateFile({}, {}) = {s} (file) = {}", .{ dir, bun.fmt.utf16(path), @tagName(rc), bun.toFD(result) }); + log("NtCreateFile({}, {}) = {s} (file) = {}", .{ dir, bun.fmt.utf16(path), @tagName(rc), bun.FD.fromNative(result) }); } else { log("NtCreateFile({}, {}) = {s} (file) = {}", .{ dir, bun.fmt.utf16(path), @tagName(rc), rc }); }