Disambiguate a call

This commit is contained in:
Victor Zverovich 2014-09-12 16:18:04 -07:00
parent 352b6ae496
commit a3062f6647

View File

@ -101,7 +101,7 @@ errno_t test::sopen_s(
static LONGLONG max_file_size() { return std::numeric_limits<LONGLONG>::max(); } static LONGLONG max_file_size() { return std::numeric_limits<LONGLONG>::max(); }
BOOL test::GetFileSizeEx(HANDLE hFile, PLARGE_INTEGER lpFileSize) { BOOL test::GetFileSizeEx(HANDLE hFile, PLARGE_INTEGER lpFileSize) {
BOOL result = GetFileSizeEx(hFile, lpFileSize); BOOL result = ::GetFileSizeEx(hFile, lpFileSize);
if (increase_file_size) if (increase_file_size)
lpFileSize->QuadPart = max_file_size(); lpFileSize->QuadPart = max_file_size();
return result; return result;