mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 11:17:35 +02:00
Fix test
This commit is contained in:
@ -108,7 +108,7 @@ static LONGLONG max_file_size() { return std::numeric_limits<LONGLONG>::max(); }
|
|||||||
DWORD test::GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh) {
|
DWORD test::GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh) {
|
||||||
if (fstat_sim == ERROR) {
|
if (fstat_sim == ERROR) {
|
||||||
SetLastError(ERROR_ACCESS_DENIED);
|
SetLastError(ERROR_ACCESS_DENIED);
|
||||||
return FALSE;
|
return INVALID_FILE_SIZE;
|
||||||
}
|
}
|
||||||
if (fstat_sim == MAX_SIZE) {
|
if (fstat_sim == MAX_SIZE) {
|
||||||
DWORD max = std::numeric_limits<DWORD>::max();
|
DWORD max = std::numeric_limits<DWORD>::max();
|
||||||
|
Reference in New Issue
Block a user