timezone: Added missing ULL to get rid of compiler warnings
This commit is contained in:
parent
1b087615e7
commit
dfae3edd86
@ -1543,14 +1543,14 @@ boolean freerdp_match_unix_timezone_identifier_with_list(const char* tzid, const
|
||||
uint64 freerdp_get_windows_time_from_unix_time(time_t unix_time)
|
||||
{
|
||||
uint64 windows_time;
|
||||
windows_time = (unix_time * 10000000) + 621355968000000000;
|
||||
windows_time = (unix_time * 10000000) + 621355968000000000ULL;
|
||||
return windows_time;
|
||||
}
|
||||
|
||||
time_t freerdp_get_unix_time_from_windows_time(uint64 windows_time)
|
||||
{
|
||||
time_t unix_time;
|
||||
unix_time = (windows_time - 621355968000000000) / 10000000;
|
||||
unix_time = (windows_time - 621355968000000000ULL) / 10000000;
|
||||
return unix_time;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user