diff --git a/test/posix-test.cc b/test/posix-test.cc index 61d95c85..e1690841 100644 --- a/test/posix-test.cc +++ b/test/posix-test.cc @@ -112,7 +112,7 @@ DWORD test::GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh) { } if (fstat_sim == MAX_SIZE) { DWORD max = std::numeric_limits::max(); - *lpFileSizeHig = max >> 1; + *lpFileSizeHigh = max >> 1; return max; } return ::GetFileSize(hFile, lpFileSizeHigh);