Skip to content

Commit c26aa28

Browse files
committed
Fix build failure due to CsWin32 bump
1 parent 306cf96 commit c26aa28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Data/Items/AccessControlPrincipal.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var x when
121121
fixed (char* cDomain = new char[size])
122122
lpDomain = new(cDomain);
123123

124-
bResult = PInvoke.GetComputerName(lpDomain, ref size);
124+
bResult = PInvoke.GetComputerName(lpDomain, &size);
125125
if (!bResult)
126126
return;
127127
}

0 commit comments

Comments
 (0)