tangled
alpha
login
or
join now
huwcampbell.com
/
reactos
0
fork
atom
Reactos
0
fork
atom
overview
issues
pulls
pipelines
[UCRT] Fix template specialization
Timo Kreuzer
1 year ago
482f318a
7a764cf6
+4
-4
1 changed file
expand all
collapse all
unified
split
sdk
lib
ucrt
filesystem
findfile.cpp
+4
-4
sdk/lib/ucrt/filesystem/findfile.cpp
reviewed
···
27
27
static CrtTime __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw();
28
28
29
29
template <>
30
30
-
static __time32_t __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw()
30
30
+
__time32_t __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw()
31
31
{
32
32
return __loctotime32_t(st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, -1);
33
33
}
34
34
35
35
template <>
36
36
-
static __time64_t __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw()
36
36
+
__time64_t __cdecl convert_system_time_to_time_t(SYSTEMTIME const& st) throw()
37
37
{
38
38
return __loctotime64_t(st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, -1);
39
39
}
···
64
64
static Integer convert_file_size_to_integer(DWORD const high, DWORD const low) throw();
65
65
66
66
template <>
67
67
-
static __int64 convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
67
67
+
__int64 convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
68
68
{
69
69
return static_cast<__int64>(high) * 0x100000000ll + static_cast<__int64>(low);
70
70
}
71
71
72
72
template <>
73
73
-
static unsigned long convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
73
73
+
unsigned long convert_file_size_to_integer(DWORD const high, DWORD const low) throw()
74
74
{
75
75
UNREFERENCED_PARAMETER(high);
76
76
return low;