authorgravatar for sahnvour@gmail.comSahnvour <sahnvour@gmail.com> 2018-06-16 23:47:51+02:00
committergravatar for sahnvour@gmail.comSahnvour <sahnvour@gmail.com> 2018-06-16 23:47:51+02:00
logf47655eb6d42590a89f177e7354c998a8d88582d
treea90dac7540b165a465f5abe52987acda0e994add
parentb3a3e2094e8b88e40eecf65d29f39af10442bde4

pointer reform: missed change in windows specific code.


1 files changed, 1 insertions(+), 1 deletions(-)

std/os/file.zig+1-1
...@@ -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,