From dfae3edd86fd99347c469b4096f5e4c7aa4f8ec9 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Thu, 1 Mar 2012 15:30:20 +0100 Subject: [PATCH] timezone: Added missing ULL to get rid of compiler warnings --- libfreerdp-locale/timezone.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfreerdp-locale/timezone.c b/libfreerdp-locale/timezone.c index b4e5fc31d..79782a032 100644 --- a/libfreerdp-locale/timezone.c +++ b/libfreerdp-locale/timezone.c @@ -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; }