Commit f47655eb6d

Sahnvour <sahnvour@gmail.com>
2018-06-16 23:47:51
pointer reform: missed change in windows specific code.
1 parent b3a3e20
Changed files (1)
std
std/os/file.zig
@@ -242,7 +242,7 @@ pub const File = struct {
             },
             Os.windows => {
                 var pos: windows.LARGE_INTEGER = undefined;
-                if (windows.SetFilePointerEx(self.handle, 0, *pos, windows.FILE_CURRENT) == 0) {
+                if (windows.SetFilePointerEx(self.handle, 0, &pos, windows.FILE_CURRENT) == 0) {
                     const err = windows.GetLastError();
                     return switch (err) {
                         windows.ERROR.INVALID_PARAMETER => error.BadFd,