| author | |
| committer | |
| log | f47655eb6d42590a89f177e7354c998a8d88582d |
| tree | a90dac7540b165a465f5abe52987acda0e994add |
| parent | b3a3e2094e8b88e40eecf65d29f39af10442bde4 |
1 files changed, 1 insertions(+), 1 deletions(-)
std/os/file.zig+1-1| ... | ... | @@ -242,7 +242,7 @@ pub const File = struct { |
| 242 | 242 | }, |
| 243 | 243 | Os.windows => { |
| 244 | 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 | 246 | const err = windows.GetLastError(); |
| 247 | 247 | return switch (err) { |
| 248 | 248 | windows.ERROR.INVALID_PARAMETER => error.BadFd, |