mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:53:03 +00:00
[UCRT] Fix non-standard literal suffixes
This commit is contained in:
parent
ffd69754f9
commit
4de4349109
7 changed files with 18 additions and 18 deletions
|
@ -66,7 +66,7 @@ static Integer convert_file_size_to_integer(DWORD const high, DWORD const low) t
|
|||
template <>
|
||||
static __int64 convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
|
||||
{
|
||||
return static_cast<__int64>(high) * 0x100000000i64 + static_cast<__int64>(low);
|
||||
return static_cast<__int64>(high) * 0x100000000ll + static_cast<__int64>(low);
|
||||
}
|
||||
|
||||
template <>
|
||||
|
|
|
@ -83,7 +83,7 @@ static bool __cdecl compute_size(BY_HANDLE_FILE_INFORMATION const& file_info, __
|
|||
_VALIDATE_RETURN_NOEXC(file_info.nFileSizeHigh <= LONG_MAX, EOVERFLOW, false);
|
||||
|
||||
size = static_cast<__int64>(
|
||||
static_cast<unsigned __int64>(file_info.nFileSizeHigh) * 0x100000000i64 +
|
||||
static_cast<unsigned __int64>(file_info.nFileSizeHigh) * 0x100000000ll +
|
||||
static_cast<unsigned __int64>(file_info.nFileSizeLow));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue