| ... | @@ -242,7 +242,7 @@ pub const File = struct { | ... | @@ -242,7 +242,7 @@ pub const File = struct { |
| 242 | }, | 242 | }, |
| 243 | Os.windows => { | 243 | Os.windows => { |
| 244 | var pos: windows.LARGE_INTEGER = undefined; | 244 | var pos: windows.LARGE_INTEGER = undefined; |
| 245 | if (windows.SetFilePointerEx(self.handle, 0, *pos, windows.FILE_CURRENT) == 0) { | 245 | if (windows.SetFilePointerEx(self.handle, 0, &pos, windows.FILE_CURRENT) == 0) { |
| 246 | const err = windows.GetLastError(); | 246 | const err = windows.GetLastError(); |
| 247 | return switch (err) { | 247 | return switch (err) { |
| 248 | windows.ERROR.INVALID_PARAMETER => error.BadFd, | 248 | windows.ERROR.INVALID_PARAMETER => error.BadFd, |