summaryrefslogtreecommitdiff
path: root/src/port/win32stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/win32stat.c')
-rw-r--r--src/port/win32stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/win32stat.c b/src/port/win32stat.c
index 9051c713e7b..4351aa4d08f 100644
--- a/src/port/win32stat.c
+++ b/src/port/win32stat.c
@@ -227,7 +227,7 @@ _pgstat64(const char *name, struct stat *buf)
return -1;
}
- _NtQueryInformationFile = (PFN_NTQUERYINFORMATIONFILE)
+ _NtQueryInformationFile = (PFN_NTQUERYINFORMATIONFILE) (pg_funcptr_t)
GetProcAddress(ntdll, "NtQueryInformationFile");
if (_NtQueryInformationFile == NULL)
{