fix some issues

This commit is contained in:
Mitchell Hashimoto
2024-03-13 13:40:07 -07:00
parent a2c9ac558d
commit c2c115a768
2 changed files with 3 additions and 3 deletions

View File

@@ -183,7 +183,7 @@ const WindowsPty = struct {
"\\\\.\\pipe\\LOCAL\\ghostty-pty-{d}-{d}",
.{
windows.kernel32.GetCurrentProcessId(),
pipe_name_counter.fetchAdd(1, .Monotonic),
pipe_name_counter.fetchAdd(1, .monotonic),
},
) catch unreachable;