mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix test
This commit is contained in:
parent
93ae73adbc
commit
eccd5e8d15
@ -108,7 +108,7 @@ static LONGLONG max_file_size() { return std::numeric_limits<LONGLONG>::max(); }
|
||||
DWORD test::GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh) {
|
||||
if (fstat_sim == ERROR) {
|
||||
SetLastError(ERROR_ACCESS_DENIED);
|
||||
return FALSE;
|
||||
return INVALID_FILE_SIZE;
|
||||
}
|
||||
if (fstat_sim == MAX_SIZE) {
|
||||
DWORD max = std::numeric_limits<DWORD>::max();
|
||||
|
Loading…
Reference in New Issue
Block a user